#ifndef __OSDEP_SERVICE_H_
#define __OSDEP_SERVICE_H_
-#include <linux/signal.h>
-#include <linux/sched/signal.h>
-
#define _FAIL 0
#define _SUCCESS 1
#define RTW_RX_HANDLED 2
#undef _FALSE
#define _FALSE 0
-#include <linux/signal.h>
-#include <linux/sched/signal.h>
-
#ifdef PLATFORM_FREEBSD
#include <osdep_service_bsd.h>
#endif
#include <linux/kthread.h>
#include <linux/list.h>
#include <linux/vmalloc.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
+ #include <linux/sched/signal.h>
+#endif
#if (LINUX_VERSION_CODE <= KERNEL_VERSION(2,5,41))
#include <linux/tqueue.h>