]> arthur.barton.de Git - netdata.git/blobdiff - src/global_statistics.c
prevent multiple locks per web requests
[netdata.git] / src / global_statistics.c
old mode 100755 (executable)
new mode 100644 (file)
index 493e92e..d813f66
@@ -1,9 +1,11 @@
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <pthread.h>
 
-#include "common.h"
 #include "global_statistics.h"
 
-struct global_statistics global_statistics = { 0ULL, 0ULL, 0ULL, 0ULL };
+struct global_statistics global_statistics = { 0, 0ULL, 0ULL, 0ULL, 0ULL};
 
 pthread_mutex_t global_statistics_mutex = PTHREAD_MUTEX_INITIALIZER;