From 44a375520ade46f08a71faf13ccf728d687d23c1 Mon Sep 17 00:00:00 2001 From: daveluff Date: Wed, 22 Feb 2006 19:21:29 +0000 Subject: [PATCH] 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 --- tests/al-info.c | 6 ++++-- tests/test-up.cxx | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) 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 -- 2.39.5