summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eaf456a)
raw | patch | inline | side by side (parent: eaf456a)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 4 Jun 2016 09:50:59 +0000 (11:50 +0200) | ||
committer | Ruben 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.
anymore.
src/daemon/common.c | patch | blob | history | |
src/daemon/plugin.h | patch | blob | history |
diff --git a/src/daemon/common.c b/src/daemon/common.c
index 546da3b3f240e94d019e15d20036fca20755fa16..f82efe3347d0cf292a8177120d6d2c3ea1d88242 100644 (file)
--- a/src/daemon/common.c
+++ b/src/daemon/common.c
#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>
diff --git a/src/daemon/plugin.h b/src/daemon/plugin.h
index 73982279a665767650e41ef616731fe4960a1125..75498c8aa4398293c603a71126092d24d0be9935 100644 (file)
--- a/src/daemon/plugin.h
+++ b/src/daemon/plugin.h
#include "meta_data.h"
#include "utils_time.h"
-#if HAVE_PTHREAD_H
-# include <pthread.h>
-#endif
+#include <pthread.h>
#define PLUGIN_FLAGS_GLOBAL 0x0001