branch | stable-1.5 |
changeset 2692 | cb240525acb6 |
parent 2688 | adcbb2ad12e3 |
child 2693 | 8051d05cb935 |
--- a/master/master.c Fri Oct 27 12:33:30 2017 +0200 +++ b/master/master.c Wed Dec 06 10:09:50 2017 +0100 @@ -44,6 +44,11 @@ #include <linux/device.h> #include <linux/version.h> #include <linux/hrtimer.h> + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) +#include <linux/sched/types.h> // struct sched_param +#endif + #include "globals.h" #include "slave.h" #include "slave_config.h"