From 7fd90ac10fad083521fd74e7680ebc4dd46e528f Mon Sep 17 00:00:00 2001 From: Dave Page Date: Fri, 21 Jun 2013 23:32:32 +0100 Subject: [PATCH] QT4 compatibility. --- runtime/Server.cpp | 2 ++ runtime/pgAdmin4.cpp | 1 + runtime/pgAdmin4.h | 4 ++++ 3 files changed, 7 insertions(+) diff --git a/runtime/Server.cpp b/runtime/Server.cpp index 7e0cc374e..c59fbcf4e 100644 --- a/runtime/Server.cpp +++ b/runtime/Server.cpp @@ -15,6 +15,8 @@ #include // QT headers +#include +#include #include // App headers diff --git a/runtime/pgAdmin4.cpp b/runtime/pgAdmin4.cpp index 74476183c..32b762164 100644 --- a/runtime/pgAdmin4.cpp +++ b/runtime/pgAdmin4.cpp @@ -21,6 +21,7 @@ #include #else #include +#include #endif // App headers diff --git a/runtime/pgAdmin4.h b/runtime/pgAdmin4.h index 6baefb42f..ec0c7e1b6 100644 --- a/runtime/pgAdmin4.h +++ b/runtime/pgAdmin4.h @@ -12,6 +12,10 @@ #ifndef PGADMIN4_H #define PGADMIN4_H +// Include the Python header here as it needs to appear before any QT +// headers anywhere in the app. +#include + // QT headers #include