From: Matthias Dieter Wallnöfer Date: Sun, 12 Dec 2010 16:44:04 +0000 (+0100) Subject: ldb:pyldb - optimise includes X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=b56a6f2eda228698a2433ea2365fda5967bd904c ldb:pyldb - optimise includes --- diff --git a/source4/lib/ldb/pyldb.c b/source4/lib/ldb/pyldb.c index 3bee9abcc9e9..44a006ffb305 100644 --- a/source4/lib/ldb/pyldb.c +++ b/source4/lib/ldb/pyldb.c @@ -26,9 +26,6 @@ License along with this library; if not, see . */ -#include -#include "replace.h" -#include "ldb_private.h" #include "pyldb.h" /* There's no Py_ssize_t in 2.4, apparently */ diff --git a/source4/lib/ldb/pyldb.h b/source4/lib/ldb/pyldb.h index 1f4bdf7290da..afc8c518818e 100644 --- a/source4/lib/ldb/pyldb.h +++ b/source4/lib/ldb/pyldb.h @@ -1,7 +1,7 @@ /* Unix SMB/CIFS implementation. - Swig interface to ldb. + Python interface to ldb. Copyright (C) 2007-2008 Jelmer Vernooij @@ -28,6 +28,7 @@ #include #include +#include "ldb_private.h" typedef struct { PyObject_HEAD diff --git a/source4/lib/ldb/pyldb_util.c b/source4/lib/ldb/pyldb_util.c index 3e015d09397d..35071f364540 100644 --- a/source4/lib/ldb/pyldb_util.c +++ b/source4/lib/ldb/pyldb_util.c @@ -23,10 +23,7 @@ License along with this library; if not, see . */ -#include -#include "replace.h" #include "pyldb.h" -#include static PyObject *ldb_module = NULL;