From: daveluff Date: Wed, 22 Feb 2006 19:21:29 +0000 (+0000) Subject: A couple of hacks to fix cygwin compilation. These may not be the correct fix, but... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=44a375520ade46f08a71faf13ccf728d687d23c1;p=flightgear.git A couple of hacks to fix cygwin compilation. These may not be the correct fix, but they prevent new cygwin users getting an almost instant compile error following make --- diff --git a/tests/al-info.c b/tests/al-info.c index 69dc675b1..27ac2d0e1 100644 --- a/tests/al-info.c +++ b/tests/al-info.c @@ -6,8 +6,10 @@ # include #else # include -# include -# include +# include +# ifndef __CYGWIN__ +# include +# endif #endif #ifndef AL_VERSION_1_1 diff --git a/tests/test-up.cxx b/tests/test-up.cxx index c349d98ea..87eb5e5ae 100644 --- a/tests/test-up.cxx +++ b/tests/test-up.cxx @@ -1,4 +1,8 @@ // do some test relating to the concept of "up" + +#ifdef HAVE_CONFIG_H +# include +#endif #include