diff options
author | Pierre-Jean Texier | 2019-08-26 13:06:17 +0200 |
---|---|---|
committer | Tom Rini | 2019-09-24 17:46:13 -0400 |
commit | 664689f1dcb178ccb36842d0564ea8a6e8a7e648 (patch) | |
tree | 827aff7757ae609c207abecbbd1ca140be4fc9fc /include/env.h | |
parent | 7ce01c78dcd34b49c779467c33953c931bf7bf06 (diff) |
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>
Diffstat (limited to 'include/env.h')
-rw-r--r-- | include/env.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/env.h b/include/env.h index a74a261337e..b72239f6a58 100644 --- a/include/env.h +++ b/include/env.h @@ -9,6 +9,7 @@ #ifndef __ENV_H #define __ENV_H +#include <compiler.h> #include <stdbool.h> #include <linux/types.h> |