aboutsummaryrefslogtreecommitdiff
path: root/src/randomenv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/randomenv.cpp')
-rw-r--r--src/randomenv.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/randomenv.cpp b/src/randomenv.cpp
index 3e4d5a587d..581612bccf 100644
--- a/src/randomenv.cpp
+++ b/src/randomenv.cpp
@@ -24,11 +24,12 @@
#include <thread>
#include <vector>
+#include <sys/types.h> // must go before a number of other headers
+
#ifdef WIN32
#include <windows.h>
#include <winreg.h>
#else
-#include <sys/types.h> // must go before a number of other headers
#include <fcntl.h>
#include <netinet/in.h>
#include <sys/resource.h>