From 5dd57b262e37caeac377807d9971652516f347b1 Mon Sep 17 00:00:00 2001 From: Matt Fleming Date: Wed, 16 Mar 2011 14:05:16 +0000 Subject: [PATCH] ldlinux: Fix compiler warning in colors.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- com32/elflink/ldlinux/colors.c | 1 + 1 file changed, 1 insertion(+) diff --git a/com32/elflink/ldlinux/colors.c b/com32/elflink/ldlinux/colors.c index 68732bd..c1ef390 100644 --- a/com32/elflink/ldlinux/colors.c +++ b/com32/elflink/ldlinux/colors.c @@ -14,6 +14,7 @@ #include #include #include +#include #include "menu.h" /* -- 2.7.4