diff options
Diffstat (limited to 'Source/CursesDialog/form/form.h')
-rw-r--r-- | Source/CursesDialog/form/form.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Source/CursesDialog/form/form.h b/Source/CursesDialog/form/form.h index cb291c4..94f05af 100644 --- a/Source/CursesDialog/form/form.h +++ b/Source/CursesDialog/form/form.h @@ -37,7 +37,19 @@ #define _MSE_INT_H #endif -#include <curses.h> +#include <cmFormConfigure.h> + +/* figure out which curses.h to include */ +# if defined(CURSES_HAVE_NCURSES_H) +# include <ncurses.h> +# elif defined(CURSES_HAVE_NCURSES_NCURSES_H) +# include <ncurses/ncurses.h> +# elif defined(CURSES_HAVE_NCURSES_CURSES_H) +# include <ncurses/curses.h> +# else +# include <curses.h> +# endif + #include <eti.h> #include <stdarg.h> |