From c2abe4d8d39b331ebb2b3f0101cb156602a04b58 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Fri, 3 Apr 2020 12:09:39 +0200 Subject: [PATCH] Fixed missing include for struct sched_param. --- master/master.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/master/master.c b/master/master.c index ae04ac59..7e7c3f3e 100644 --- a/master/master.c +++ b/master/master.c @@ -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 #include -#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) -#include // 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 // struct sched_param +#include // sched_setscheduler +#endif #include "ethernet.h" #endif + #include "master.h" /*****************************************************************************/