aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo Alcantara <pcacjr@zytor.com>2012-05-28 01:04:00 -0300
committerPaulo Alcantara <pcacjr@zytor.com>2012-05-28 01:06:30 -0300
commitd76af0754db7ddd4c06215d922d213c93178c0af (patch)
treecf8e0b784c3fd54403e01de327183a896d169d79
parentf89dba81b802a97b2673c60586aef39635717136 (diff)
downloadsyslinux-d76af0754db7ddd4c06215d922d213c93178c0af.tar.gz
syslinux-d76af0754db7ddd4c06215d922d213c93178c0af.tar.xz
syslinux-d76af0754db7ddd4c06215d922d213c93178c0af.zip
com32: fix warning in host module
host.c: In function ‘main’: host.c:56:9: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] host.c:56:9: warning: incompatible implicit declaration of built-in function ‘exit’ [enabled by default] Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
-rw-r--r--com32/modules/host.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/modules/host.c b/com32/modules/host.c
index b43bd43b..df517256 100644
--- a/com32/modules/host.c
+++ b/com32/modules/host.c
@@ -27,6 +27,7 @@
* ----------------------------------------------------------------------- */
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <console.h>
#include <com32.h>