X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fplugin.h;h=49edba254ea13f5742864f24eb62d4048e9a1258;hb=474d70e02d04de92aa7503b3887989729bbbff02;hp=73982279a665767650e41ef616731fe4960a1125;hpb=6600bd1351bf81e0831e7ad95ee37a7b28cbdf94;p=collectd.git diff --git a/src/daemon/plugin.h b/src/daemon/plugin.h index 73982279..49edba25 100644 --- a/src/daemon/plugin.h +++ b/src/daemon/plugin.h @@ -29,18 +29,17 @@ #define PLUGIN_H #include "collectd.h" + #include "configfile.h" #include "meta_data.h" #include "utils_time.h" -#if HAVE_PTHREAD_H -# include -#endif +#include #define PLUGIN_FLAGS_GLOBAL 0x0001 #ifndef DATA_MAX_NAME_LEN -# define DATA_MAX_NAME_LEN 64 +# define DATA_MAX_NAME_LEN 128 #endif #define DS_TYPE_COUNTER 0