summaryrefslogtreecommitdiffstats
path: root/common/env_mmc.c
diff options
context:
space:
mode:
authorLei Wen <adrian.wenl@gmail.com>2010-11-10 07:39:23 +0800
committerWolfgang Denk <wd@denx.de>2010-11-14 23:28:21 +0100
commit6d1d51b32b9dc26be42ab95a61346050f9de7665 (patch)
tree079ac0d2314e417bdac82d322f30d38c2e198a70 /common/env_mmc.c
parent02bd475e343582b3c915b94ef4016d5876d4a4f1 (diff)
downloadtalos-obmc-uboot-6d1d51b32b9dc26be42ab95a61346050f9de7665.tar.gz
talos-obmc-uboot-6d1d51b32b9dc26be42ab95a61346050f9de7665.zip
env_mmc: fix compile warning
hexport would complain implicit declaration, if we don't add the include file. env_mmc.c: In function 'saveenv': env_mmc.c:109: warning: implicit declaration of function 'hexport' Signed-off-by: Lei Wen <leiwen@marvell.com>
Diffstat (limited to 'common/env_mmc.c')
-rw-r--r--common/env_mmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/env_mmc.c b/common/env_mmc.c
index 3d7fceb099..7c9392c86f 100644
--- a/common/env_mmc.c
+++ b/common/env_mmc.c
@@ -29,6 +29,7 @@
#include <linux/stddef.h>
#include <malloc.h>
#include <mmc.h>
+#include <search.h>
#include <errno.h>
/* references to names in env_common.c */
OpenPOWER on IntegriCloud