From: fredb Date: Fri, 3 Nov 2006 10:04:58 +0000 (+0000) Subject: For some reason I don't know yet, the APIENTRY stuff in osg/GL is broken for some... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=741e9c5ed5750669a61d08aa8f65ca6ec5dcd89e;p=simgear.git 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. --- 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"