Remove HAVE_PTHREAD_H include guard
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 4 Jun 2016 09:50:59 +0000 (11:50 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 4 Jun 2016 09:50:59 +0000 (11:50 +0200)
We can't build without pthread.h so guarding it is not necessary
anymore.

src/daemon/common.c
src/daemon/plugin.h

index 546da3b..f82efe3 100644 (file)
@@ -36,9 +36,7 @@
 #include "plugin.h"
 #include "utils_cache.h"
 
-#if HAVE_PTHREAD_H
-# include <pthread.h>
-#endif
+#include <pthread.h>
 
 #ifdef HAVE_MATH_H
 # include <math.h>
index 7398227..75498c8 100644 (file)
@@ -33,9 +33,7 @@
 #include "meta_data.h"
 #include "utils_time.h"
 
-#if HAVE_PTHREAD_H
-# include <pthread.h>
-#endif
+#include <pthread.h>
 
 #define PLUGIN_FLAGS_GLOBAL 0x0001