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/param/provision.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/param/provision.c') diff --git a/source4/param/provision.c b/source4/param/provision.c index ddf3eec1b9..2f5f78abe6 100644 --- a/source4/param/provision.c +++ b/source4/param/provision.c @@ -18,6 +18,7 @@ along with this program. If not, see . */ +#include #include "includes.h" #include "auth/auth.h" #include "lib/ldb_wrap.h" @@ -29,7 +30,6 @@ #include "param/param.h" #include "param/provision.h" #include "param/secrets.h" -#include #include "lib/talloc/pytalloc.h" #include "librpc/rpc/pyrpc.h" #include "scripting/python/modules.h" -- cgit