From ea75e2ac0b860c95d8cf547d11d3da5df05e028e Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Sat, 7 Sep 2013 09:43:06 -0400 Subject: [PATCH] arogue5: use configure's checks to find term.h. This should make the build process work on OS X. --- arogue5/mdport.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arogue5/mdport.c b/arogue5/mdport.c index 0063400..5bad93f 100644 --- a/arogue5/mdport.c +++ b/arogue5/mdport.c @@ -29,6 +29,10 @@ SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #if defined(_WIN32) #include #include @@ -55,10 +59,10 @@ #if defined(__INTERIX) || defined(__MSYS__) #include -#else -#ifdef NCURSES_VERSION +#elif defined(HAVE_NCURSES_TERM_H) #include -#endif +#else +#include #endif #include