summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/win32-g++/qplatformdefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/win32-g++/qplatformdefs.h b/mkspecs/win32-g++/qplatformdefs.h
index c5a70b1445..e9ced3732a 100644
--- a/mkspecs/win32-g++/qplatformdefs.h
+++ b/mkspecs/win32-g++/qplatformdefs.h
@@ -46,6 +46,8 @@
#endif
#endif
+#include <unistd.h> // Defines _POSIX_THREAD_SAFE_FUNCTIONS and others
+
// Get Qt defines/settings
#include "qglobal.h"