Check for HP/UX curses problems. Define  _XOPEN_SOURCE_EXTENDED and
STRICT_SYSV_CURSES when compiling curses module on HP/UX. Generalize
access to _flags on systems where WINDOW is opaque. Fixes bugs
#432497, #422265, and the curses parts of #467145 and #473150.
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 7de66af..40cb00d 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -288,6 +288,12 @@
 /* Define if you want to compile in rudimentary thread support */
 #undef WITH_THREAD
 
+/* Define if mvwdelch in curses.h is an expression. */
+#undef MVWDELCH_IS_EXPRESSION
+
+/* Define if WINDOW in curses.h offers a field _flags. */
+#undef WINDOW_HAS_FLAGS
+
 /* The number of bytes in a char.  */
 #undef SIZEOF_CHAR