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