From 711755016ddb3b8e3d34cc05857d71e186a85cd0 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 4 Jun 2016 11:50:59 +0200 Subject: [PATCH] Remove HAVE_PTHREAD_H include guard We can't build without pthread.h so guarding it is not necessary anymore. --- src/daemon/common.c | 4 +--- src/daemon/plugin.h | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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 -- 2.11.0