summaryrefslogtreecommitdiff
path: root/include/env.h
diff options
context:
space:
mode:
authorPierre-Jean Texier <pjtexier@koncepto.io>2019-08-26 13:06:17 +0200
committerTom Rini <trini@konsulko.com>2019-09-24 17:46:13 -0400
commit664689f1dcb178ccb36842d0564ea8a6e8a7e648 (patch)
tree827aff7757ae609c207abecbbd1ca140be4fc9fc /include/env.h
parent7ce01c78dcd34b49c779467c33953c931bf7bf06 (diff)
downloadu-boot-664689f1dcb178ccb36842d0564ea8a6e8a7e648.tar.gz
u-boot-664689f1dcb178ccb36842d0564ea8a6e8a7e648.tar.bz2
u-boot-664689f1dcb178ccb36842d0564ea8a6e8a7e648.zip
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/env.h b/include/env.h
index a74a261337..b72239f6a5 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>