From: ehofman Date: Sun, 9 Oct 2005 09:37:35 +0000 (+0000) Subject: David Luff: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f3d0a9bc3f246a84f1b781a0d6a64bcf01b84571;p=simgear.git David Luff: The following patch needs to be applied to fix the errors that Georg Vollnhals was getting whilst attempting to compile SimGear with gcc-3.4.x --- diff --git a/simgear/ephemeris/ephemeris.cxx b/simgear/ephemeris/ephemeris.cxx index 80ecd2d9..31ceb01f 100644 --- a/simgear/ephemeris/ephemeris.cxx +++ b/simgear/ephemeris/ephemeris.cxx @@ -22,6 +22,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif #include diff --git a/simgear/ephemeris/stardata.cxx b/simgear/ephemeris/stardata.cxx index e45b2092..86583ea4 100644 --- a/simgear/ephemeris/stardata.cxx +++ b/simgear/ephemeris/stardata.cxx @@ -21,6 +21,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif #include #include diff --git a/simgear/io/decode_binobj.cxx b/simgear/io/decode_binobj.cxx index 70a50f5e..06181c8b 100644 --- a/simgear/io/decode_binobj.cxx +++ b/simgear/io/decode_binobj.cxx @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +# include +#endif + #include #include diff --git a/simgear/io/sg_socket_udp.cxx b/simgear/io/sg_socket_udp.cxx index b3e4a57e..7c0a0d60 100644 --- a/simgear/io/sg_socket_udp.cxx +++ b/simgear/io/sg_socket_udp.cxx @@ -20,6 +20,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif #include diff --git a/simgear/scene/sky/moon.cxx b/simgear/scene/sky/moon.cxx index fdf1fc87..cf851e7e 100644 --- a/simgear/scene/sky/moon.cxx +++ b/simgear/scene/sky/moon.cxx @@ -24,6 +24,9 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif #include