From a694e3055ff85536701fcc46fbd0064709b2bfab Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Wed, 6 Dec 2017 10:09:50 +0100 Subject: [PATCH] Support scheduler parameters in kernels >= 4.11. --- master/master.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/master/master.c b/master/master.c index 6336f6df..3900130d 100644 --- a/master/master.c +++ b/master/master.c @@ -44,6 +44,11 @@ #include #include #include + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) +#include // struct sched_param +#endif + #include "globals.h" #include "slave.h" #include "slave_config.h"