Fix build against kernel 4.11
This commit is contained in:
@@ -26,9 +26,6 @@
|
|||||||
|
|
||||||
#ifndef __DRV_TYPES_H__
|
#ifndef __DRV_TYPES_H__
|
||||||
#define __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 <drv_conf.h>
|
||||||
#include <basic_types.h>
|
#include <basic_types.h>
|
||||||
#include <osdep_service.h>
|
#include <osdep_service.h>
|
||||||
|
@@ -46,6 +46,9 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <linux/sem.h>
|
#include <linux/sem.h>
|
||||||
#include <linux/sched.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/etherdevice.h>
|
||||||
#include <linux/wireless.h>
|
#include <linux/wireless.h>
|
||||||
#include <net/iw_handler.h>
|
#include <net/iw_handler.h>
|
||||||
|
Reference in New Issue
Block a user