Support scheduler parameters in kernels >= 4.11.

This commit is contained in:
Florian Pose
2021-08-24 16:32:36 +02:00
parent 463a0b2f63
commit 606000bf40
+5
View File
@@ -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"