Pārlūkot izejas kodu

Merge pull request #110 from tonyfinn/master

Fix for kernel 4.11+ compile failure
Ole Petter Bang 8 gadi atpakaļ
vecāks
revīzija
8de9cbf66a
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  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>