diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-10-23 16:23:01 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-10-23 16:23:01 +1100 |
commit | 3050f8328862c7c77d3d692453bd9cc0885824e5 (patch) | |
tree | 2c49a56892335d182a26b9072082f28e0152b830 /source4/scripting/python/pyglue.c | |
parent | e34106ca8b001d75182975a89145ded75dc6619d (diff) | |
download | samba-3050f8328862c7c77d3d692453bd9cc0885824e5.tar.gz samba-3050f8328862c7c77d3d692453bd9cc0885824e5.tar.xz samba-3050f8328862c7c77d3d692453bd9cc0885824e5.zip |
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.
Diffstat (limited to 'source4/scripting/python/pyglue.c')
-rw-r--r-- | source4/scripting/python/pyglue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/pyglue.c b/source4/scripting/python/pyglue.c index 753f2df464..71203d301c 100644 --- a/source4/scripting/python/pyglue.c +++ b/source4/scripting/python/pyglue.c @@ -17,6 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include <Python.h> #include "includes.h" #include "ldb.h" #include "ldb_errors.h" @@ -27,7 +28,6 @@ #include "lib/ldb-samba/ldif_handlers.h" #include "librpc/ndr/libndr.h" #include "version.h" -#include <Python.h> #include "lib/ldb/pyldb.h" #include "libcli/util/pyerrors.h" #include "libcli/security/security.h" |