]> git.mxchange.org Git - simgear.git/blobdiff - Astro/sun.cxx
Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
[simgear.git] / Astro / sun.cxx
index 039953d9de8a205bdf658ee98f0edc67c8c9d8d8..7941596d6e62f60ea76276cd97b8be4136b10282 100644 (file)
@@ -23,7 +23,9 @@
  **************************************************************************/
 
 
-#include <config.h>
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
  
 #ifdef HAVE_WINDOWS_H                                           
 #  include <windows.h>                                           
@@ -35,7 +37,7 @@
 #include <Debug/fg_debug.h>
 #include <Include/fg_constants.h>
 #include <Main/views.hxx>
-#include <Time/fg_time.h>
+#include <Time/fg_time.hxx>
 #include <Time/sunpos.hxx>
 
 #include "orbits.hxx"
@@ -190,9 +192,13 @@ void fgSunRender( void ) {
 
 
 /* $Log$
-/* Revision 1.1  1998/04/22 13:21:36  curt
-/* C++ - ifing the code a bit.
+/* Revision 1.2  1998/04/24 00:45:04  curt
+/* Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
+/* Fixed a bug when generating sky colors.
 /*
+ * Revision 1.1  1998/04/22 13:21:36  curt
+ * C++ - ifing the code a bit.
+ *
  * Revision 1.10  1998/04/18 04:13:58  curt
  * Moved fg_debug.c to it's own library.
  *