From d9631ecf528b0f89d2ffda693209b088411434d0 Mon Sep 17 00:00:00 2001
From: Wolfgang Denk <wd@pollux.denx.de>
Date: Fri, 30 Sep 2005 15:18:23 +0200
Subject: [PATCH] Fix compiler warning

---
 CHANGELOG     | 2 ++
 common/main.c | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/CHANGELOG b/CHANGELOG
index f5a16d8825..24a43cba07 100644
--- 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
diff --git a/common/main.c b/common/main.c
index 29226244a1..1389958de3 100644
--- a/common/main.c
+++ b/common/main.c
@@ -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>
-- 
2.39.5