summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fa0b947)
raw | patch | inline | side by side (parent: fa0b947)
author | Florian Forster <octo@collectd.org> | |
Sun, 11 Mar 2012 14:49:55 +0000 (15:49 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 11 Mar 2012 14:49:55 +0000 (15:49 +0100) |
src/ethstat.c | patch | blob | history |
diff --git a/src/ethstat.c b/src/ethstat.c
index fbe52c270e48f82e2e720f5119a508f64553d765..d3343746a13f0aaefded13c801e55af1636e894c 100644 (file)
--- a/src/ethstat.c
+++ b/src/ethstat.c
* Cyril Feraudet <cyril at feraudet.com>
**/
-#include <stdlib.h>
-#include <string.h>
-#include <math.h>
-#include <time.h>
#include "collectd.h"
#include "common.h"
#include "plugin.h"
#include "configfile.h"
-#include <sys/types.h>
-#include <sys/types.h>
-#include <sys/ioctl.h>
-#include <sys/stat.h>
-#include <stdio.h>
-#include <string.h>
-#include <errno.h>
-#include <net/if.h>
-#include <linux/sockios.h>
#include "ethstat.h"
-# if KERNEL_LINUX
-
+#include <sys/ioctl.h>
+#include <net/if.h>
+#include <linux/sockios.h>
static int ethstat_config (const char *key, const char *value)
{
config_keys, config_keys_num);
plugin_register_read ("ethstat", ethstat_read);
}
-
-#endif