projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lantiq: ltq-tapi: fix compilation with newer Linux kernels
[openwrt/staging/mkresin.git]
/
package
/
kernel
/
lantiq
/
ltq-tapi
/
patches
/
010-fix-compile.patch
diff --git
a/package/kernel/lantiq/ltq-tapi/patches/010-fix-compile.patch
b/package/kernel/lantiq/ltq-tapi/patches/010-fix-compile.patch
index 051e25d3add8a5bf90b35f89a468f7c4ca50c18c..0407b38b6fdfd9154418137380c112d3d40070b2 100644
(file)
--- a/
package/kernel/lantiq/ltq-tapi/patches/010-fix-compile.patch
+++ b/
package/kernel/lantiq/ltq-tapi/patches/010-fix-compile.patch
@@
-6,7
+6,7
@@
#include <linux/sched.h>
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0))
+ #include <linux/sched/signal.h>
-+ #include <linux/sched/types.h>
++ #include <
uapi/
linux/sched/types.h>
+#endif
#undef CONFIG_DEVFS_FS
#ifndef UTS_RELEASE