summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-09-30 15:18:23 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-09-30 15:18:23 +0200
commitd9631ecf528b0f89d2ffda693209b088411434d0 (patch)
treed5928b2fa5084b9e9e641055cc4d4be84ca89a74 /common/main.c
parent709d8ec0d8a99cc745dde3b87c7c65d410305bf2 (diff)
Fix compiler warning
Diffstat (limited to 'common/main.c')
-rw-r--r--common/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/main.c b/common/main.c
index 29226244a1a..1389958de3e 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>