From 5dc772ecef8c9c543eed2174fe651bb2d40c5ef7 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 16 Mar 2009 23:56:50 +0000 Subject: [PATCH] build error on ppc --- panda/src/osxdisplay/osxGraphicsWindow.mm | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/panda/src/osxdisplay/osxGraphicsWindow.mm b/panda/src/osxdisplay/osxGraphicsWindow.mm index 243e3a2e5d..58228cfeea 100644 --- a/panda/src/osxdisplay/osxGraphicsWindow.mm +++ b/panda/src/osxdisplay/osxGraphicsWindow.mm @@ -9,6 +9,17 @@ // //////////////////////////////////////////////////////////////////// +// We include these system header files first, because there is a +// namescope conflict between them and some other header file that +// gets included later (in particular, TCP_NODELAY must not be a +// #define symbol for these headers to be included properly). + +#include +#include +#include +#include +#include + #include "osxGraphicsWindow.h" #include "config_osxdisplay.h" #include "osxGraphicsPipe.h" @@ -23,13 +34,6 @@ #include "virtualFileSystem.h" #include "config_util.h" #include "pset.h" - -#include -#include -#include -#include -#include - #include "pmutex.h" ////////////////////////////////////