]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - progs/progs.priv.h
ncurses 6.2 - patch 20200829
[ncurses.git] / progs / progs.priv.h
index a8d08bda6249658f78511caf0d381a39f8aa9d33..6b84762d968185f872d354d49b91a4c934ff6bcc 100644 (file)
@@ -31,7 +31,7 @@
  *  Author: Thomas E. Dickey                    1997-on                     *
  ****************************************************************************/
 /*
- * $Id: progs.priv.h,v 1.49 2020/02/29 20:57:36 tom Exp $
+ * $Id: progs.priv.h,v 1.51 2020/08/01 21:07:50 tom Exp $
  *
  *     progs.priv.h
  *
 #include <unistd.h>
 #endif
 
-#if HAVE_SYS_BSDTYPES_H
-#include <sys/bsdtypes.h>      /* needed for ISC */
-#endif
-
 #if HAVE_LIMITS_H
 # include <limits.h>
 #elif HAVE_SYS_PARAM_H
@@ -123,6 +119,11 @@ extern int optind;
 #define NCURSES_OPAQUE    0
 
 #include <curses.h>
+
+#if !(defined(NCURSES_WGETCH_EVENTS) && defined(NEED_KEY_EVENT))
+#undef KEY_EVENT               /* reduce compiler-warnings with Visual C++ */
+#endif
+
 #include <term_entry.h>
 #include <nc_termios.h>
 #include <tic.h>