summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-01-20 15:07:09 +1300
committerJelmer Vernooij <jelmer@samba.org>2010-01-21 16:15:10 +1300
commitc42242d132144fbbdce97bd95f0e24bdf58a2c84 (patch)
tree788962c2fbed15ff5b745aa3928e4b838f2d67e8 /source4
parente8a99ac980ef3700436dc44ad5cab32da642aea6 (diff)
downloadsamba-c42242d132144fbbdce97bd95f0e24bdf58a2c84.tar.gz
samba-c42242d132144fbbdce97bd95f0e24bdf58a2c84.tar.bz2
samba-c42242d132144fbbdce97bd95f0e24bdf58a2c84.zip
s4: Include Python.h early to avoid double definition errors.
Diffstat (limited to 'source4')
-rw-r--r--source4/utils/net/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c
index ba935b9986..2d45a4bb54 100644
--- a/source4/utils/net/net.c
+++ b/source4/utils/net/net.c
@@ -41,6 +41,7 @@
/* */
/*****************************************************/
+#include <Python.h>
#include "includes.h"
#include "utils/net/net.h"
#include "lib/cmdline/popt_common.h"
@@ -49,7 +50,6 @@
#include "param/param.h"
#include "lib/events/events.h"
#include "auth/credentials/credentials.h"
-#include <Python.h>
#include "scripting/python/modules.h"
static PyObject *py_tuple_from_argv(int argc, const char *argv[])