]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
env_mmc: fix compile warning
authorLei Wen <adrian.wenl@gmail.com>
Tue, 9 Nov 2010 23:39:23 +0000 (07:39 +0800)
committerWolfgang Denk <wd@denx.de>
Sun, 14 Nov 2010 22:28:21 +0000 (23:28 +0100)
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>
common/env_mmc.c

index 3d7fceb099d4ee3913eb99c720e23249801fc78b..7c9392c86fb932ef95c8d1989f1eeb8fc1f1c3a3 100644 (file)
@@ -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 */