From 606000bf403cfb2edf75a4349d192248705c8f00 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 408d1a4f..20aedf5b 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"