From e7cee870a7a2174527e77fe9e6601e18321d8d44 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Mon, 3 Apr 2017 12:58:08 +0100 Subject: [PATCH] Mingw32 compatibility fixes --- runtime/pgAdmin4.cpp | 1 + runtime/pgAdmin4.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/runtime/pgAdmin4.cpp b/runtime/pgAdmin4.cpp index 5d55f0216..a2dbe7451 100644 --- a/runtime/pgAdmin4.cpp +++ b/runtime/pgAdmin4.cpp @@ -16,6 +16,7 @@ #if QT_VERSION >= 0x050000 #include +#include #include #include #else diff --git a/runtime/pgAdmin4.h b/runtime/pgAdmin4.h index 57b4f612e..5d9b5b04c 100644 --- a/runtime/pgAdmin4.h +++ b/runtime/pgAdmin4.h @@ -14,6 +14,9 @@ // Include the Python header here as it needs to appear before any QT // headers anywhere in the app. +#ifdef __MINGW32__ +#include +#endif #include // QT headers