summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5c78be0)
raw | patch | inline | side by side (parent: 5c78be0)
author | Landry Breuil <landry@rhaalovely.net> | |
Mon, 27 Oct 2014 07:38:53 +0000 (08:38 +0100) | ||
committer | Landry Breuil <landry@rhaalovely.net> | |
Mon, 27 Oct 2014 07:38:53 +0000 (08:38 +0100) |
src/daemon/plugin.c | patch | blob | history | |
src/daemon/plugin.h | patch | blob | history |
diff --git a/src/daemon/plugin.c b/src/daemon/plugin.c
index cd992044b2c199f07483b3807b7157986c411bed..97b794f75d35cbd66d1449981b12567899a9089c 100644 (file)
--- a/src/daemon/plugin.c
+++ b/src/daemon/plugin.c
#include "utils_time.h"
#include "utils_random.h"
-#if HAVE_PTHREAD_H
-# include <pthread.h>
-#endif
-
#include <ltdl.h>
/*
diff --git a/src/daemon/plugin.h b/src/daemon/plugin.h
index dfc608e8d54d68857ffbfba306e33adf293fec84..d773e09478b818a09dd898c110dfb923532f87ac 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
+
#define PLUGIN_FLAGS_GLOBAL 0x0001
#define DATA_MAX_NAME_LEN 64