summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/talloc/pytalloc.c1
-rw-r--r--source4/utils/net/net.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/talloc/pytalloc.c b/lib/talloc/pytalloc.c
index c6decf33f1..ad595a1054 100644
--- a/lib/talloc/pytalloc.c
+++ b/lib/talloc/pytalloc.c
@@ -17,6 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <Python.h>
#include "replace.h"
#include <talloc.h>
#include <pytalloc.h>
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[])