Fix for missing linux/sched/signal.h & linux/version.h

This commit is contained in:
kimocoder 2019-11-11 02:48:45 +01:00
parent 909606a1b8
commit bcd541ad4d

View File

@ -15,6 +15,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