From da3b65f95d6e467c324a81afc62acba33f82e164 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 11 Mar 2012 15:49:55 +0100 Subject: [PATCH] ethstat plugin: Fix includes. --- src/ethstat.c | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/src/ethstat.c b/src/ethstat.c index fbe52c27..d3343746 100644 --- a/src/ethstat.c +++ b/src/ethstat.c @@ -20,27 +20,15 @@ * Cyril Feraudet **/ -#include -#include -#include -#include #include "collectd.h" #include "common.h" #include "plugin.h" #include "configfile.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include #include "ethstat.h" -# if KERNEL_LINUX - +#include +#include +#include static int ethstat_config (const char *key, const char *value) { @@ -174,5 +162,3 @@ void module_register (void) config_keys, config_keys_num); plugin_register_read ("ethstat", ethstat_read); } - -#endif -- 2.11.0