Browse Source

Merge pull request #110 from tonyfinn/master

Fix for kernel 4.11+ compile failure
Ole Petter Bang 8 năm trước cách đây
mục cha
commit
8de9cbf66a
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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>