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/auth/credentials/pycredentials.c | 2 +- source4/auth/gensec/pygensec.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/auth') diff --git a/source4/auth/credentials/pycredentials.c b/source4/auth/credentials/pycredentials.c index b0433abeab..59a200b09e 100644 --- a/source4/auth/credentials/pycredentials.c +++ b/source4/auth/credentials/pycredentials.c @@ -16,8 +16,8 @@ along with this program. If not, see . */ -#include "includes.h" #include +#include "includes.h" #include "pycredentials.h" #include "param/param.h" #include "lib/cmdline/credentials.h" diff --git a/source4/auth/gensec/pygensec.c b/source4/auth/gensec/pygensec.c index c799ffd75c..87c38053a7 100644 --- a/source4/auth/gensec/pygensec.c +++ b/source4/auth/gensec/pygensec.c @@ -16,8 +16,8 @@ along with this program. If not, see . */ -#include "includes.h" #include +#include "includes.h" #include "param/pyparam.h" #include "auth/gensec/gensec.h" #include "libcli/util/pyerrors.h" -- cgit