com32: fix warning in host module
authorPaulo Alcantara <pcacjr@zytor.com>
Mon, 28 May 2012 04:04:00 +0000 (01:04 -0300)
committerPaulo Alcantara <pcacjr@zytor.com>
Mon, 28 May 2012 04:06:30 +0000 (01:06 -0300)
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>
com32/modules/host.c

index b43bd43..df51725 100644 (file)
@@ -27,6 +27,7 @@
  * ----------------------------------------------------------------------- */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <console.h>
 #include <com32.h>