Fix build against kernel 4.11

This commit is contained in:
Rafał Markiewicz
2017-05-04 17:02:42 +02:00
parent 1d01d2cea1
commit 9e94e6840c
2 changed files with 3 additions and 3 deletions

View File

@@ -26,9 +26,6 @@
#ifndef __DRV_TYPES_H__
#define __DRV_TYPES_H__
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
#include <linux/sched/signal.h>
#endif
#include <drv_conf.h>
#include <basic_types.h>
#include <osdep_service.h>

View File

@@ -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>