]> git.mxchange.org Git - flightgear.git/commitdiff
A couple tweaks.
authorcurt <curt>
Wed, 12 Jan 2000 18:40:04 +0000 (18:40 +0000)
committercurt <curt>
Wed, 12 Jan 2000 18:40:04 +0000 (18:40 +0000)
src/Cockpit/hud.cxx
src/GUI/gui.cxx

index d4f753855fae1238df5d9c1a1738445d5c652f31..8629fa4d4462890b759c2bf21544ce866c91cf30 100644 (file)
@@ -50,7 +50,9 @@
 #include <Math/fg_random.h>
 #include <Math/mat3.h>
 #include <Math/polar3d.hxx>
+#ifdef FG_NETWORK_OLK
 #include <NetworkOLK/network.h>
+#endif
 #include <Scenery/scenery.hxx>
 #include <Time/fg_timer.hxx>
 
index a29c6203242cb4cfdf0851f5defdcb41cd40328b..d183e766cdb882ce3fd62314c69723edee649aed 100644 (file)
@@ -62,7 +62,9 @@
 #include <Main/fg_init.hxx>
 #include <Main/views.hxx>
 #include <Misc/fgpath.hxx>
+#ifdef FG_NETWORK_OLK
 #include <NetworkOLK/network.h>
+#endif
 #include <Screen/screen-dump.hxx>
 #include <Time/fg_time.hxx>
 
@@ -1080,6 +1082,8 @@ static void NewAirportInit(void)
     FG_FINALIZE_PUI_DIALOG( AptDialog );
 }
 
+#ifdef FG_NETWORK_OLK
+
 /// The beginnings of networking :-)
 //  Needs cleaning up but works
 //  These statics should disapear when this is a class
@@ -1338,6 +1342,9 @@ static void net_display_toggle( puObject *cb)
 }
 
 */
+
+#endif
+
 /***************  End Networking  **************/