summaryrefslogtreecommitdiff
path: root/package/ifxmips-dsl-api/patches/100-dsl_compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/ifxmips-dsl-api/patches/100-dsl_compat.patch')
-rw-r--r--package/ifxmips-dsl-api/patches/100-dsl_compat.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/ifxmips-dsl-api/patches/100-dsl_compat.patch b/package/ifxmips-dsl-api/patches/100-dsl_compat.patch
index dea82f0..a3020d4 100644
--- a/package/ifxmips-dsl-api/patches/100-dsl_compat.patch
+++ b/package/ifxmips-dsl-api/patches/100-dsl_compat.patch
@@ -37,3 +37,14 @@
return 0;
}
+--- a/src/include/drv_dsl_cpe_os_linux.h
++++ b/src/include/drv_dsl_cpe_os_linux.h
+@@ -24,7 +24,7 @@
+ #include <linux/ctype.h>
+ #include <linux/version.h>
+ #include <linux/spinlock.h>
+-
++#include <linux/sched.h>
+
+ #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,17))
+ #include <linux/utsrelease.h>