Fix compiler warning
authorWolfgang Denk <wd@pollux.denx.de>
Fri, 30 Sep 2005 13:18:23 +0000 (15:18 +0200)
committerWolfgang Denk <wd@pollux.denx.de>
Fri, 30 Sep 2005 13:18:23 +0000 (15:18 +0200)
CHANGELOG
common/main.c

index f5a16d8..24a43cb 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,8 @@
 Changes for U-Boot 1.1.4:
 ======================================================================
 
+* Fix compiler warning
+
 * Fix FEC PHY addresses for TQM85xx boards
 
 * Fix uninitialized variable problem in hush shell
index 2922624..1389958 100644 (file)
@@ -26,6 +26,9 @@
 #include <common.h>
 #include <watchdog.h>
 #include <command.h>
+#ifdef CONFIG_MODEM_SUPPORT
+#include <malloc.h>            /* for free() prototype */
+#endif
 
 #ifdef CFG_HUSH_PARSER
 #include <hush.h>