Support scheduler parameters in kernels >= 4.11.

This commit is contained in:
Florian Pose 2017-12-06 10:09:50 +01:00
parent af0f0a2287
commit a694e3055f
1 changed files with 5 additions and 0 deletions

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"