Code

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 546da3b3f240e94d019e15d20036fca20755fa16..f82efe3347d0cf292a8177120d6d2c3ea1d88242 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 73982279a665767650e41ef616731fe4960a1125..75498c8aa4398293c603a71126092d24d0be9935 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