Commit 664689f1dcb178ccb36842d0564ea8a6e8a7e648

Authored by Pierre-Jean Texier
Committed by Tom Rini
1 parent 7ce01c78dc

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -9,6 +9,7 @@
9 9 #ifndef __ENV_H
10 10 #define __ENV_H
11 11  
  12 +#include <compiler.h>
12 13 #include <stdbool.h>
13 14 #include <linux/types.h>
14 15