Browse Source

Merge pull request #110 from tonyfinn/master

Fix for kernel 4.11+ compile failure
Ole Petter Bang 8 years ago
parent
commit
8de9cbf66a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      include/osdep_service_linux.h

+ 3 - 0
include/osdep_service_linux.h

@@ -46,6 +46,9 @@
 #endif
 	#include <linux/sem.h>
 	#include <linux/sched.h>
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0))
+	#include <linux/sched/signal.h>
+#endif
 	#include <linux/etherdevice.h>
 	#include <linux/wireless.h>
 	#include <net/iw_handler.h>