From bcd541ad4dcaf3582d1f3d9bcd88062bc793f669 Mon Sep 17 00:00:00 2001 From: kimocoder Date: Mon, 11 Nov 2019 02:48:45 +0100 Subject: [PATCH] Fix for missing linux/sched/signal.h & linux/version.h --- include/osdep_service.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/osdep_service.h b/include/osdep_service.h index 7d13e01..dc6ace8 100644 --- a/include/osdep_service.h +++ b/include/osdep_service.h @@ -15,6 +15,10 @@ #ifndef __OSDEP_SERVICE_H_ #define __OSDEP_SERVICE_H_ +#include +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) +#include +#endif #define _FAIL 0 #define _SUCCESS 1