]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/gui.h
Make sure that all elapsed time gets passed to update when a subsystem
[flightgear.git] / src / GUI / gui.h
index 4bb366371cd54ac5f2115047e3d39a12bb5ed833..10a7a0e1f5ba846f9cd91a5e15dc18a690280592 100644 (file)
@@ -33,7 +33,8 @@
 #  include <windows.h>
 #endif
 
-#include <GL/glut.h>           // needed before pu.h
+#include GLUT_H                 // needed before pu.h
+
 #include <plib/pu.h>           // plib include
 
 #include <simgear/misc/exception.hxx>
@@ -43,7 +44,9 @@
 
 // gui.cxx
 extern void guiInit();
+#if defined (FG_OLD_MENUBAR)
 extern void guiToggleMenu(void);
+#endif
 extern void mkDialog(const char *txt);
 extern void guiErrorMessage(const char *txt);
 extern void guiErrorMessage(const char *txt, const sg_throwable &throwable);