Merge pull request #28 from CGarces/patch-1

Fix build for API changes in kernel 4.11
This commit is contained in:
Magnus Bergmark 2017-04-19 06:29:11 +02:00 committed by GitHub
commit dcd71fa873

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