aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@linux.intel.com>2011-03-16 14:05:16 +0000
committerMatt Fleming <matt.fleming@linux.intel.com>2011-03-16 14:06:39 +0000
commit5dd57b262e37caeac377807d9971652516f347b1 (patch)
tree3d8c9e22abdf9360d7bcb2b9dc496ccb25c83563
parent248c42500874df4526a3160446c43bda59706977 (diff)
downloadsyslinux-5dd57b262e37caeac377807d9971652516f347b1.tar.gz
syslinux-5dd57b262e37caeac377807d9971652516f347b1.tar.xz
syslinux-5dd57b262e37caeac377807d9971652516f347b1.zip
ldlinux: Fix compiler warning in colors.c
Include core-elf.h to get the definition of enum kernel_type to fix the following warning, In file included from colors.c:17:0: ../modules/menu.h:206:40: warning: ‘enum kernel_type’ declared inside parameter list ../modules/menu.h:206:40: warning: its scope is only this definition or declaration, which is probably not what you want Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
-rw-r--r--com32/elflink/ldlinux/colors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/elflink/ldlinux/colors.c b/com32/elflink/ldlinux/colors.c
index 68732bdb..c1ef3904 100644
--- a/com32/elflink/ldlinux/colors.c
+++ b/com32/elflink/ldlinux/colors.c
@@ -14,6 +14,7 @@
#include <string.h>
#include <stdio.h>
#include <colortbl.h>
+#include <core-elf.h>
#include "menu.h"
/*