Fixed missing include for struct sched_param.
This commit is contained in:
parent
b6a456c046
commit
c2abe4d8d3
|
|
@ -1,8 +1,6 @@
|
|||
/******************************************************************************
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
* Copyright (C) 2006-2012 Florian Pose, Ingenieurgemeinschaft IgH
|
||||
* Copyright (C) 2006-2020 Florian Pose, Ingenieurgemeinschaft IgH
|
||||
*
|
||||
* This file is part of the IgH EtherCAT Master.
|
||||
*
|
||||
|
|
@ -45,18 +43,20 @@
|
|||
#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"
|
||||
#include "device.h"
|
||||
#include "datagram.h"
|
||||
|
||||
#ifdef EC_EOE
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
|
||||
#include <uapi/linux/sched/types.h> // struct sched_param
|
||||
#include <linux/sched/types.h> // sched_setscheduler
|
||||
#endif
|
||||
#include "ethernet.h"
|
||||
#endif
|
||||
|
||||
#include "master.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
|||
Loading…
Reference in New Issue