diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-01-20 15:07:09 +1300 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-01-21 16:15:10 +1300 |
commit | c42242d132144fbbdce97bd95f0e24bdf58a2c84 (patch) | |
tree | 788962c2fbed15ff5b745aa3928e4b838f2d67e8 /source4/utils/net | |
parent | e8a99ac980ef3700436dc44ad5cab32da642aea6 (diff) | |
download | samba-c42242d132144fbbdce97bd95f0e24bdf58a2c84.tar.gz samba-c42242d132144fbbdce97bd95f0e24bdf58a2c84.tar.bz2 samba-c42242d132144fbbdce97bd95f0e24bdf58a2c84.zip |
s4: Include Python.h early to avoid double definition errors.
Diffstat (limited to 'source4/utils/net')
-rw-r--r-- | source4/utils/net/net.c | 2 |
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[]) |