Skip to content
Snippets Groups Projects
Commit 8f02eb6e authored by Felix Fietkau's avatar Felix Fietkau Committed by Kenneth Johansson
Browse files

kernel: fix linux 4.9 host tools portability issues


Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 8e52d212
No related branches found
No related tags found
No related merge requests found
...@@ -95,4 +95,4 @@ cxx_flags = -Wp,-MD,$(depfile),-MT,$@ $(CXXFLAGS) -D"BUILD_STR(s)=\#s" $(CXXFLAG ...@@ -95,4 +95,4 @@ cxx_flags = -Wp,-MD,$(depfile),-MT,$@ $(CXXFLAGS) -D"BUILD_STR(s)=\#s" $(CXXFLAG
### ###
## HOSTCC C flags ## HOSTCC C flags
host_c_flags = -Wp,-MD,$(depfile),-MT,$@ $(CHOSTFLAGS) -D"BUILD_STR(s)=\#s" $(CHOSTFLAGS_$(basetarget).o) $(CHOSTFLAGS_$(obj)) host_c_flags = -MD -MF $(depfile) -MT $@ $(CHOSTFLAGS) -D"BUILD_STR(s)=\#s" $(CHOSTFLAGS_$(basetarget).o) $(CHOSTFLAGS_$(obj))
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#include <strings.h>
#include <ctype.h> #include <ctype.h>
#include <unistd.h> #include <unistd.h>
#include <stdarg.h> #include <stdarg.h>
......
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
#include <unistd.h> #include <unistd.h>
#include "jsmn.h" #include "jsmn.h"
#include "json.h" #include "json.h"
#include <linux/kernel.h>
static char *mapfile(const char *fn, size_t *size) static char *mapfile(const char *fn, size_t *size)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment