From: Florian Forster Date: Sun, 11 Mar 2012 14:49:55 +0000 (+0100) Subject: ethstat plugin: Fix includes. X-Git-Tag: collectd-5.1.0~7^2~6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=da3b65f95d6e467c324a81afc62acba33f82e164;p=collectd.git ethstat plugin: Fix includes. --- 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