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 GitHub
parent a7fd0359f7
commit 86dfb14946

View File

@ -20,6 +20,10 @@
#ifndef __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 _SUCCESS 1