From 86dfb14946c0327266478e04a9484c89c045c77d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Garc=C3=A9s?= Date: Wed, 19 Apr 2017 01:25:04 +0200 Subject: [PATCH] Fix build for API changes in kernel 4.11 --- include/osdep_service.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/osdep_service.h b/include/osdep_service.h index 76026b9..6b9e27f 100644 --- a/include/osdep_service.h +++ b/include/osdep_service.h @@ -20,6 +20,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