1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-25 14:44:09 +00:00

Merge pull request #5 from kimocoder/v4.3.21

fix import on linux kernel >= 4.11.0
This commit is contained in:
Christian kimocoder 2017-08-25 12:48:09 +02:00 committed by GitHub
commit a3a5c885ef

View File

@ -45,7 +45,14 @@
#include <linux/semaphore.h>
#endif
#include <linux/sem.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0))
#define HAVE_SIGNAL_FUNCTIONS_OWN_HEADER
#endif
#ifdef HAVE_SIGNAL_FUNCTIONS_OWN_HEADER
#include <linux/sched/signal.h>
#else
#include <linux/sched.h>
#endif
#include <linux/etherdevice.h>
#include <linux/wireless.h>
#include <net/iw_handler.h>