aboutsummaryrefslogtreecommitdiffstats
path: root/com32/modules
diff options
context:
space:
mode:
authorKim Mik <kimmik999999@yahoo.co.uk>2009-12-28 20:23:45 +0000
committerH. Peter Anvin <hpa@zytor.com>2009-12-28 13:45:27 -0800
commit16aa8de721413236e9c6c212133b53ceb39887bf (patch)
tree0af6ec546c48685a5b608dd0cb09173d70bc0777 /com32/modules
parentee0413d08d7052fd730a4f073d2c4ba7af2ab930 (diff)
downloadsyslinux.git-16aa8de721413236e9c6c212133b53ceb39887bf.tar.gz
syslinux.git-16aa8de721413236e9c6c212133b53ceb39887bf.tar.xz
syslinux.git-16aa8de721413236e9c6c212133b53ceb39887bf.zip
chain.c32: fixing implicit declaration of function ‘syslinux_force_text_mode’
When building chain.c32: $ make chain.c32 gcc -Wp,-MT,chain.o,-MD,./..chain.o.d -std=gnu99 -m32 -fno-stack-protector -mregparm=3 -DREGPARM=3 -march=i386 -Os -W -Wall -march=i386 -fomit-frame-pointer -D__COM32__ -nostdinc -iwithprefix include -I../../com32/libutil/include -I../../com32/include -I../../com32/gplinclude -c -o chain.o chain.c chain.c: In function ‘do_boot’: chain.c:552: warning: implicit declaration of function ‘syslinux_force_text_mode’ ld -m elf_i386 -T ../../com32/lib/com32.ld -o chain.elf chain.o ../../com32/libutil/libutil_com.a ../../com32/gpllib/libcom32gpl.a ../../com32/lib/libcom32.a /usr/lib/gcc/i486-linux-gnu/4.4.1/libgcc.a objcopy -O binary chain.elf chain.c32 The following was missing: #include <syslinux/video.h> - Gert Hulselmans
Diffstat (limited to 'com32/modules')
-rw-r--r--com32/modules/chain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/modules/chain.c b/com32/modules/chain.c
index 03893c96..be09748b 100644
--- a/com32/modules/chain.c
+++ b/com32/modules/chain.c
@@ -76,6 +76,7 @@
#include <syslinux/loadfile.h>
#include <syslinux/bootrm.h>
#include <syslinux/config.h>
+#include <syslinux/video.h>
#define SECTOR 512 /* bytes/sector */