From 3050f8328862c7c77d3d692453bd9cc0885824e5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 23 Oct 2009 16:23:01 +1100 Subject: s4-python: we need to include Python.h first If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes. --- source4/web_server/wsgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/web_server') diff --git a/source4/web_server/wsgi.c b/source4/web_server/wsgi.c index 4d6b441f17..48255bc205 100644 --- a/source4/web_server/wsgi.c +++ b/source4/web_server/wsgi.c @@ -20,12 +20,12 @@ along with this program. If not, see . */ +#include #include "includes.h" #include "web_server/web_server.h" #include "../lib/util/dlinklist.h" #include "../lib/util/data_blob.h" #include "lib/tls/tls.h" -#include #ifndef Py_RETURN_NONE #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -- cgit