Просмотр исходного кода

Merge pull request #110 from tonyfinn/master

Fix for kernel 4.11+ compile failure
Ole Petter Bang 8 лет назад
Родитель
Сommit
8de9cbf66a
1 измененных файлов с 3 добавлено и 0 удалено
  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>