diff --git a/src/utils_random.c b/src/utils_random.c
index b8738458710786faae5a1745dbbd602b8bb2bad6..548d1d81c81aefadda6f9ee790e05650ddbd0104 100644 (file)
--- a/src/utils_random.c
+++ b/src/utils_random.c
* Florian Forster <octo at collectd.org>
**/
+#include <pthread.h>
+
#include "collectd.h"
#include "utils_time.h"
+#include "utils_random.h"
-#include <pthread.h>
static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
static _Bool have_seed = 0;