summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/provision.c2
-rw-r--r--source4/param/pyparam.c5
-rw-r--r--source4/param/pyparam_util.c5
3 files changed, 3 insertions, 9 deletions
diff --git a/source4/param/provision.c b/source4/param/provision.c
index ddf3eec1b9..2f5f78abe6 100644
--- a/source4/param/provision.c
+++ b/source4/param/provision.c
@@ -18,6 +18,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <Python.h>
#include "includes.h"
#include "auth/auth.h"
#include "lib/ldb_wrap.h"
@@ -29,7 +30,6 @@
#include "param/param.h"
#include "param/provision.h"
#include "param/secrets.h"
-#include <Python.h>
#include "lib/talloc/pytalloc.h"
#include "librpc/rpc/pyrpc.h"
#include "scripting/python/modules.h"
diff --git a/source4/param/pyparam.c b/source4/param/pyparam.c
index 58799f8d37..eb2da11bb0 100644
--- a/source4/param/pyparam.c
+++ b/source4/param/pyparam.c
@@ -17,13 +17,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdint.h>
-#include <stdbool.h>
-
+#include <Python.h>
#include "includes.h"
#include "param/param.h"
#include "param/loadparm.h"
-#include <Python.h>
#include "pytalloc.h"
/* There's no Py_ssize_t in 2.4, apparently */
diff --git a/source4/param/pyparam_util.c b/source4/param/pyparam_util.c
index 9e4a6cdf64..e5c416bf84 100644
--- a/source4/param/pyparam_util.c
+++ b/source4/param/pyparam_util.c
@@ -17,13 +17,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdint.h>
-#include <stdbool.h>
-
+#include <Python.h>
#include "includes.h"
#include "param/param.h"
#include "param/loadparm.h"
-#include <Python.h>
#include "pytalloc.h"
#define PyLoadparmContext_AsLoadparmContext(obj) py_talloc_get_type(obj, struct loadparm_context)