From: Ruben Kerkhof Date: Sat, 4 Jun 2016 09:50:59 +0000 (+0200) Subject: Remove HAVE_PTHREAD_H include guard X-Git-Tag: collectd-5.6.0~251^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=711755016ddb3b8e3d34cc05857d71e186a85cd0;p=collectd.git Remove HAVE_PTHREAD_H include guard We can't build without pthread.h so guarding it is not necessary anymore. --- diff --git a/src/daemon/common.c b/src/daemon/common.c index 546da3b3..f82efe33 100644 --- a/src/daemon/common.c +++ b/src/daemon/common.c @@ -36,9 +36,7 @@ #include "plugin.h" #include "utils_cache.h" -#if HAVE_PTHREAD_H -# include -#endif +#include #ifdef HAVE_MATH_H # include diff --git a/src/daemon/plugin.h b/src/daemon/plugin.h index 73982279..75498c8a 100644 --- a/src/daemon/plugin.h +++ b/src/daemon/plugin.h @@ -33,9 +33,7 @@ #include "meta_data.h" #include "utils_time.h" -#if HAVE_PTHREAD_H -# include -#endif +#include #define PLUGIN_FLAGS_GLOBAL 0x0001