Fix build for API changes in kernel 4.11

This commit is contained in:
Carlos Garcés 2017-04-19 01:25:04 +02:00 committed by CGarces
parent 67f51aacca
commit c898434525

View File

@ -20,6 +20,10 @@
#ifndef __OSDEP_SERVICE_H_ #ifndef __OSDEP_SERVICE_H_
#define __OSDEP_SERVICE_H_ #define __OSDEP_SERVICE_H_
#include <linux/version.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
#include <linux/sched/signal.h>
#endif
#define _FAIL 0 #define _FAIL 0
#define _SUCCESS 1 #define _SUCCESS 1