Patch #628898: Define _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE.
diff --git a/pyconfig.h.in b/pyconfig.h.in
index c6713de..ce17133 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -785,6 +785,9 @@
    this defined. */
 #undef _POSIX_1_SOURCE
 
+/* Define to activate features from IEEE Stds 1003.{123}-1995 */
+#undef _POSIX_C_SOURCE
+
 /* Define to 1 if you need to in order for `stat' and other things to work. */
 #undef _POSIX_SOURCE
 
@@ -799,6 +802,9 @@
 # define _XOPEN_SOURCE 500
 #endif
 
+/* Define to activate Unix95-and-earlier features */
+#undef _XOPEN_SOURCE_EXTENDED
+
 /* Define to 1 if type `char' is unsigned and you are not using gcc.  */
 #ifndef __CHAR_UNSIGNED__
 # undef __CHAR_UNSIGNED__