]> git.mxchange.org Git - flightgear.git/blobdiff - utils/fgpanel/FGPNGTextureLoader.cxx
Fix standalone terrasync build
[flightgear.git] / utils / fgpanel / FGPNGTextureLoader.cxx
index 236792b57360cbf90fffd819f276f513bab9ec57..a8a8baef4e8c98e72a0fd0acecd2d3b74cdd75e4 100644 (file)
 //  along with this program; if not, write to the Free Software
 //  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
+#ifdef HAVE_WINDOWS_H
+#include <windows.h>
+#endif
 #include "FGPNGTextureLoader.hxx"
 
-#include <GL/glu.h>
+#if defined (SG_MAC)
+#include <GLUT/glut.h>
+#else
+#include <GL/glut.h>
+#endif
 #include <png.h>
 #include <stdio.h>
 #include <stdlib.h>