@@ -12,16 +12,19 @@ */ #include "tkPort.h" #include "tkInt.h" #include -#ifdef USE_NCURSES_H -# include -#else -# include +#ifdef HAVE_CURSES_H +# include +#elif defined(HAVE_CURSES_CURSES_H) +# include +#elif defined(HAVE_CURSES_NCURSES_H) +# include +#elif defined(HAVE_NCURSES_NCURSES_H) +# include #endif - #ifdef CLK_TCK # define MS_PER_CLOCK (1000.0/CLK_TCK) #elif defined HZ # define MS_PER_CLOCK (1000.0/HZ) #else