Hi, If we did not find curses libraries, but have the headers, WINDOW will be redefined badly. Ciao, Marcus Changelog: Only include curses headers if we are using curses at all. Index: ttydrv.h =================================================================== RCS file: /home/wine/wine/dlls/ttydrv/ttydrv.h,v retrieving revision 1.22 diff -u -r1.22 ttydrv.h --- ttydrv.h 10 Jun 2002 22:52:47 -0000 1.22 +++ ttydrv.h 13 Nov 2002 12:55:19 -0000 @@ -26,10 +26,12 @@ #endif #undef ERR +#if defined(HAVE_LIBCURSES) || defined(HAVE_LIBNCURSES) #ifdef HAVE_NCURSES_H # include <ncurses.h> #elif defined(HAVE_CURSES_H) # include <curses.h> +#endif #endif #include "windef.h"