X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fdaemon%2Fplugin.h;h=75498c8aa4398293c603a71126092d24d0be9935;hb=cd5602386cf810ade2750bf026e5fe340765ce05;hp=1e4b3d1815a88fb6a7594543fa855208798eadf1;hpb=4cc3fe8eb3a74650a01a5464ddb9f8d67e4e17dd;p=collectd.git diff --git a/src/daemon/plugin.h b/src/daemon/plugin.h index 1e4b3d18..75498c8a 100644 --- a/src/daemon/plugin.h +++ b/src/daemon/plugin.h @@ -1,5 +1,5 @@ /** - * collectd - src/plugin.h + * collectd - src/daemon/plugin.h * Copyright (C) 2005-2014 Florian octo Forster * * Permission is hereby granted, free of charge, to any person obtaining a @@ -33,13 +33,13 @@ #include "meta_data.h" #include "utils_time.h" -#if HAVE_PTHREAD_H -# include -#endif +#include #define PLUGIN_FLAGS_GLOBAL 0x0001 -#define DATA_MAX_NAME_LEN 64 +#ifndef DATA_MAX_NAME_LEN +# define DATA_MAX_NAME_LEN 64 +#endif #define DS_TYPE_COUNTER 0 #define DS_TYPE_GAUGE 1