mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-08-22 22:58:29 +08:00
Support scheduler parameters in kernels >= 4.11.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user