# HG changeset patch
# User Florian Pose <fp@igh-essen.com>
# Date 1348087232 -7200
# Node ID 8a270ea612eee2f5de58c88d2b3185add9c393cf
# Parent  17ada1c77acc29c65667435740616d882de4bf5f
Again fixed some compiler warnings.

diff -r 17ada1c77acc -r 8a270ea612ee lib/sdo_request.c
--- a/lib/sdo_request.c	Wed Sep 19 22:33:13 2012 +0200
+++ b/lib/sdo_request.c	Wed Sep 19 22:40:32 2012 +0200
@@ -37,6 +37,7 @@
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
+#include <sys/ioctl.h>
 
 #include "sdo_request.h"
 #include "master/ioctl.h"
diff -r 17ada1c77acc -r 8a270ea612ee lib/slave_config.c
--- a/lib/slave_config.c	Wed Sep 19 22:33:13 2012 +0200
+++ b/lib/slave_config.c	Wed Sep 19 22:40:32 2012 +0200
@@ -70,7 +70,6 @@
         ec_direction_t dir, ec_watchdog_mode_t watchdog_mode)
 {
     ec_ioctl_config_t data;
-    unsigned int i;
 
     if (sync_index >= EC_MAX_SYNC_MANAGERS)
         return -ENOENT;
@@ -473,7 +472,6 @@
 {
     ec_ioctl_voe_t data;
     ec_voe_handler_t *voe;
-    unsigned int index;
 
     voe = malloc(sizeof(ec_voe_handler_t));
     if (!voe) {