blob: b4b8fd240f57101492028df7a198d9aa15a4ad1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/plugins/python/uwsgi_python.h b/plugins/python/uwsgi_python.h
index 0c5c1c8..5c0dc6d 100644
--- a/plugins/python/uwsgi_python.h
+++ b/plugins/python/uwsgi_python.h
@@ -1,4 +1,8 @@
#include <uwsgi.h>
+/* seems like Python.h explicitlyl redefines _GNU_SOURCE */
+#ifdef _GNU_SOURCE
+#undef _GNU_SOURCE
+#endif
#include <Python.h>
#include <frameobject.h>
|