]> git.mxchange.org Git - flightgear.git/commitdiff
Fix up some include paths in main.cxx
authorDave Luff <daveluff@ntlworld.com>
Sun, 26 Dec 2010 23:19:57 +0000 (23:19 +0000)
committerDave Luff <daveluff@ntlworld.com>
Sun, 26 Dec 2010 23:19:57 +0000 (23:19 +0000)
Don't include legacy ATCmgr.hxx when it is not compiled (default).
Do include 3 paths that are necessary for main, but were only picked
up indirectly through the legacy ATC code.

src/Main/main.cxx

index 5fec795ef41d67e6edfd5bfbbc79636de82552e3..74e0ee9da5d23e59cb5c13a10ae52fd5a282ef5b 100644 (file)
@@ -46,7 +46,8 @@
 #include <simgear/structure/event_mgr.hxx>
 #include <simgear/props/AtomicChangeListener.hxx>
 #include <simgear/props/props.hxx>
-//#include <simgear/timing/sg_time.hxx>
+#include <simgear/timing/sg_time.hxx>
+#include <simgear/magvar/magvar.hxx>
 #include <simgear/math/sg_random.h>
 #include <simgear/io/raw_socket.hxx>
 #include <simgear/misc/sg_sleep.hxx>
 #include <Sound/beacon.hxx>
 #include <Sound/morse.hxx>
 #include <Sound/fg_fx.hxx>
+#if ENABLE_ATCDCL
 #include <ATCDCL/ATCmgr.hxx>
+#endif
 #include <Time/TimeManager.hxx>
 #include <Environment/environment_mgr.hxx>
 #include <Environment/ephemeris.hxx>
+#include <GUI/gui.h>
 #include <GUI/new_gui.hxx>
 #include <MultiPlayer/multiplaymgr.hxx>