From 58ced060bf45be85f8e06c1ddf89721c29722b14 Mon Sep 17 00:00:00 2001 From: Riccardo Mottola Date: Sun, 15 May 2016 22:57:30 +0000 Subject: [PATCH] move header inclusion up git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39769 72102866-910b-0410-8b05-ffd578937521 --- Modules/Debuggers/ProjectCenter/PCDebugger.m | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Modules/Debuggers/ProjectCenter/PCDebugger.m b/Modules/Debuggers/ProjectCenter/PCDebugger.m index 5103d04..2d6830d 100644 --- a/Modules/Debuggers/ProjectCenter/PCDebugger.m +++ b/Modules/Debuggers/ProjectCenter/PCDebugger.m @@ -21,6 +21,14 @@ ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef __MINGW32__ +#undef _WIN32_WINNT +#define _WIN32_WINNT 0x0501 // Minimal target is Windows XP + +#include + +#endif + #import #import "PCDebugger.h" #import "PCDebuggerView.h" @@ -29,14 +37,7 @@ #import "PCDebuggerViewDelegateProtocol.h" #import "PipeDelegate.h" -#ifdef __MINGW32__ -#undef _WIN32_WINNT -#define _WIN32_WINNT 0x0501 // Minimal target is Windows XP -#include -#include -WINBASEAPI BOOL WINAPI DebugBreakProcess(HANDLE); -#endif #ifndef NOTIFICATION_CENTER #define NOTIFICATION_CENTER [NSNotificationCenter defaultCenter]