[syslinux:elflink] com32: fix warning in host module
syslinux-bot for Paulo Alcantara
pcacjr at zytor.com
Tue May 29 14:57:04 PDT 2012
Commit-ID: d76af0754db7ddd4c06215d922d213c93178c0af
Gitweb: http://www.syslinux.org/commit/d76af0754db7ddd4c06215d922d213c93178c0af
Author: Paulo Alcantara <pcacjr at zytor.com>
AuthorDate: Mon, 28 May 2012 01:04:00 -0300
Committer: Paulo Alcantara <pcacjr at zytor.com>
CommitDate: Mon, 28 May 2012 01:06:30 -0300
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 at zytor.com>
---
com32/modules/host.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/com32/modules/host.c b/com32/modules/host.c
index b43bd43..df51725 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>
More information about the Syslinux-commits
mailing list