s4-python: we need to include Python.h first
authorAndrew Tridgell <tridge@samba.org>
Fri, 23 Oct 2009 05:23:01 +0000 (16:23 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 23 Oct 2009 05:23:01 +0000 (16:23 +1100)
commit3050f8328862c7c77d3d692453bd9cc0885824e5
tree2c49a56892335d182a26b9072082f28e0152b830
parente34106ca8b001d75182975a89145ded75dc6619d
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.
16 files changed:
libcli/nbt/pynbt.c
source4/auth/credentials/pycredentials.c
source4/auth/gensec/pygensec.c
source4/lib/com/pycom.c
source4/lib/ldb/pyldb.c
source4/lib/messaging/pymessaging.c
source4/lib/registry/pyregistry.c
source4/libnet/py_net.c
source4/librpc/rpc/pyrpc.c
source4/param/provision.c
source4/param/pyparam.c
source4/param/pyparam_util.c
source4/scripting/python/modules.c
source4/scripting/python/pyglue.c
source4/scripting/python/uuidmodule.c
source4/web_server/wsgi.c