Include the appropriate headers to fix up the following build
warnings,
ldlinux.c: In function ‘parse_kernel_type’:
ldlinux.c:27:2: warning: implicit declaration of function ‘strncmp’
ldlinux.c: In function ‘load_kernel’:
ldlinux.c:64:2: warning: implicit declaration of function ‘find_label’
ldlinux.c:64:5: warning: assignment makes pointer from integer without a cast
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
extern const char *onerror; //"onerror" command line
extern void cat_help_file(int key);
+extern struct menu_entry *find_label(const char *str);
extern void eprintf(const char *filename, ...);
#include <linux/list.h>
#include <sys/times.h>
#include <stdbool.h>
+#include <string.h>
#include <core.h>
#include "cli.h"
#include "console.h"