ldb:pyldb - optimise includes
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 12 Dec 2010 16:44:04 +0000 (17:44 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 12 Dec 2010 19:06:24 +0000 (20:06 +0100)
source4/lib/ldb/pyldb.c
source4/lib/ldb/pyldb.h
source4/lib/ldb/pyldb_util.c

index 3bee9abcc9e90a87e6e35c15efaec414ad9dfb67..44a006ffb305c0aa37cfa6cf22ebc5585b1c1c59 100644 (file)
@@ -26,9 +26,6 @@
    License along with this library; if not, see <http://www.gnu.org/licenses/>.
 */
 
-#include <Python.h>
-#include "replace.h"
-#include "ldb_private.h"
 #include "pyldb.h"
 
 /* There's no Py_ssize_t in 2.4, apparently */
index 1f4bdf7290dadec43cdeaf05daab0e0dfd7c364a..afc8c518818e9c1e23ae3cc9f11a8dc40b15b37d 100644 (file)
@@ -1,7 +1,7 @@
 /*
    Unix SMB/CIFS implementation.
 
-   Swig interface to ldb.
+   Python interface to ldb.
 
    Copyright (C) 2007-2008 Jelmer Vernooij <jelmer@samba.org>
 
@@ -28,6 +28,7 @@
 
 #include <Python.h>
 #include <talloc.h>
+#include "ldb_private.h"
 
 typedef struct {
        PyObject_HEAD
index 3e015d09397d65a468cbbd8a15687a6aba5de922..35071f364540f55e4670c7abdbc895b6d92c0664 100644 (file)
    License along with this library; if not, see <http://www.gnu.org/licenses/>.
 */
 
-#include <Python.h>
-#include "replace.h"
 #include "pyldb.h"
-#include <ldb.h>
 
 static PyObject *ldb_module = NULL;