# HG changeset patch # User John "Elwin" Edwards # Date 1378561386 14400 # Node ID 2f41b9635c34bdf7210c37839962dbefafb814e8 # Parent f2951c4e28d91bdcb15424ff6a1c4d6bdd0e88f3 arogue5: use configure's checks to find term.h. This should make the build process work on OS X. diff -r f2951c4e28d9 -r 2f41b9635c34 arogue5/mdport.c --- a/arogue5/mdport.c Sat Sep 07 08:08:00 2013 -0400 +++ b/arogue5/mdport.c Sat Sep 07 09:43:06 2013 -0400 @@ -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 +#elif defined(HAVE_NCURSES_TERM_H) +#include #else -#ifdef NCURSES_VERSION -#include -#endif +#include #endif #include