From 77b91a36441b652a729c7590847e4520e5ae4c1a Mon Sep 17 00:00:00 2001 From: Adrien Prost-Boucle Date: Tue, 6 Jun 2017 16:01:13 +0200 Subject: [PATCH] Fix driver for linux >= 4.11 --- driver/linux/riffa_driver.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/driver/linux/riffa_driver.c b/driver/linux/riffa_driver.c index 5cdecf5..bed0a37 100644 --- a/driver/linux/riffa_driver.c +++ b/driver/linux/riffa_driver.c @@ -51,7 +51,13 @@ #include #include #include + +#if LINUX_VERSION_CODE < KERNEL_VERSION(4,11,0) #include +#else +#include +#endif + #include #include #include