diff --git a/src/gtx/curses_test.c b/src/gtx/curses_test.c index 2255ff4b30..4b3f32d3d2 100644 --- a/src/gtx/curses_test.c +++ b/src/gtx/curses_test.c @@ -14,6 +14,10 @@ #include #include +#if defined(AFS_HPUX110_ENV) && !defined(__HP_CURSES) +# define __HP_CURSES +#endif + #if defined(HAVE_NCURSES_H) # include #elif defined(HAVE_CURSES_H) diff --git a/src/gtx/gtxcurseswin.h b/src/gtx/gtxcurseswin.h index a60f05c725..d513ea130a 100644 --- a/src/gtx/gtxcurseswin.h +++ b/src/gtx/gtxcurseswin.h @@ -12,6 +12,10 @@ #include "gtxwindows.h" /*Base gator window dfns */ +#if defined(AFS_HPUX110_ENV) && !defined(__HP_CURSES) +# define __HP_CURSES +#endif + #if defined(HAVE_NCURSES_H) # include #elif defined(HAVE_CURSES_H)