summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/if_python.c6
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/if_python.c b/src/if_python.c
index b9a12fa21..c9ebf1312 100644
--- a/src/if_python.c
+++ b/src/if_python.c
@@ -37,6 +37,12 @@
#ifdef HAVE_STDARG_H
# undef HAVE_STDARG_H /* Python's config.h defines it as well. */
#endif
+#ifdef _POSIX_C_SOURCE
+# undef _POSIX_C_SOURCE /* pyconfig.h defines it as well. */
+#endif
+#ifdef _XOPEN_SOURCE
+# undef _XOPEN_SOURCE /* pyconfig.h defines it as well. */
+#endif
#define PY_SSIZE_T_CLEAN
diff --git a/src/version.c b/src/version.c
index 61609c8c5..8dae6f7f5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -682,6 +682,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 288,
+/**/
287,
/**/
286,