diff --git a/src/utils_random.c b/src/utils_random.c
index 548d1d81c81aefadda6f9ee790e05650ddbd0104..fee08717a7d464c809be8f23685117654d6bdab0 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;