From 7710f8f07613a9def6d2b146b81bc970e6a4ce1a Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 24 Apr 1998 00:45:00 +0000 Subject: [PATCH] Wrapped "#include " in "#ifdef HAVE_CONFIG_H" Fixed a bug when generating sky colors. --- Astro/moon.cxx | 14 +++++++++---- Astro/moon.hxx | 10 ++++++--- Astro/orbits.cxx | 14 +++++++++---- Astro/orbits.hxx | 10 ++++++--- Astro/planets.cxx | 14 +++++++++---- Astro/sky.cxx | 52 +++++++++++++++++++++++++++++++++++------------ Astro/stars.cxx | 14 +++++++++---- Astro/sun.cxx | 14 +++++++++---- 8 files changed, 103 insertions(+), 39 deletions(-) diff --git a/Astro/moon.cxx b/Astro/moon.cxx index 53dda6d5..3aed3ed2 100644 --- a/Astro/moon.cxx +++ b/Astro/moon.cxx @@ -21,7 +21,9 @@ **************************************************************************/ -#include +#ifdef HAVE_CONFIG_H +# include +#endif #ifdef HAVE_WINDOWS_H # include @@ -36,7 +38,7 @@ #include #include #include
-#include