1
0
Fork 0

Fix up some include paths in main.cxx

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.
This commit is contained in:
Dave Luff 2010-12-26 23:19:57 +00:00
parent 958a28b97f
commit 86505fd8bc

View 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>
@ -62,10 +63,13 @@
#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>