From 741e9c5ed5750669a61d08aa8f65ca6ec5dcd89e Mon Sep 17 00:00:00 2001 From: fredb Date: Fri, 3 Nov 2006 10:04:58 +0000 Subject: [PATCH] For some reason I don't know yet, the APIENTRY stuff in osg/GL is broken for some files. Include the real windows.h until we find why. --- simgear/math/SGMath.hxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/simgear/math/SGMath.hxx b/simgear/math/SGMath.hxx index fa4e69cd..80c23ceb 100644 --- a/simgear/math/SGMath.hxx +++ b/simgear/math/SGMath.hxx @@ -22,6 +22,12 @@ #include // FIXME, make it compile on IRIX +#ifdef HAVE_CONFIG_H +# include +#endif +#ifdef HAVE_WINDOWS_H +# include +#endif #include #include "SGMathFwd.hxx" -- 2.39.5