summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
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 2922624..1389958 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>