[U-Boot] [PATCH v2 3/4] env: add missing <compiler.h> header file
Pierre-Jean Texier
pjtexier at koncepto.io
Mon Aug 26 11:06:17 UTC 2019
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 at koncepto.io>
Tested-by: Joris Offouga <offougajoris at gmail.com>
Tested-by: Heiko Schocher <hs at denx.de>
---
v1 -> v2:
- None
include/env.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/env.h b/include/env.h
index a74a261..b72239f 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>
--
2.7.4
More information about the U-Boot
mailing list