env: add missing <compiler.h> header file

Since commit af95f20 ("env: Create a new file for environment functions"),
a new header file exists.

So, this commit add a missing header file.

Fixes:

include/env.h:158:1: error: unknown type name ‘ulong’; did you mean ‘long’?
 ulong env_get_ulong(const char *name, int base, ulong default_val);
 ^~~~~
 long
include/env.h:158:49: error: unknown type name ‘ulong’; did you mean ‘long’?
 ulong env_get_ulong(const char *name, int base, ulong default_val);

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Tested-by: Joris Offouga <offougajoris@gmail.com>
Tested-by: Heiko Schocher <hs@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
Pierre-Jean Texier 2019-08-26 13:06:17 +02:00 committed by Tom Rini
parent 7ce01c78dc
commit 664689f1dc
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@
#ifndef __ENV_H
#define __ENV_H
#include <compiler.h>
#include <stdbool.h>
#include <linux/types.h>