diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/ldb/pyldb.h | 1 | ||||
-rw-r--r-- | source4/lib/ldb/pyldb_util.c | 2 | ||||
-rw-r--r-- | source4/lib/ldb/python.mk | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/ldb/pyldb.h b/source4/lib/ldb/pyldb.h index 931dd7eeae..e0e0d2af69 100644 --- a/source4/lib/ldb/pyldb.h +++ b/source4/lib/ldb/pyldb.h @@ -27,6 +27,7 @@ #define _PYLDB_H_ #include <Python.h> +#include <talloc.h> typedef struct { PyObject_HEAD diff --git a/source4/lib/ldb/pyldb_util.c b/source4/lib/ldb/pyldb_util.c index 9f9a0deb8c..84183e89de 100644 --- a/source4/lib/ldb/pyldb_util.c +++ b/source4/lib/ldb/pyldb_util.c @@ -24,9 +24,9 @@ */ #include "replace.h" -#include "ldb_private.h" #include <Python.h> #include "pyldb.h" +#include <ldb.h> void PyErr_SetLdbError(PyObject *error, int ret, struct ldb_context *ldb_ctx) { diff --git a/source4/lib/ldb/python.mk b/source4/lib/ldb/python.mk index 90f62c9040..e08c150aaf 100644 --- a/source4/lib/ldb/python.mk +++ b/source4/lib/ldb/python.mk @@ -8,6 +8,7 @@ $(pyldb_OBJ_FILES): CFLAGS+=-I$(ldbsrcdir)/include [SUBSYSTEM::pyldb_util] PUBLIC_DEPENDENCIES = LIBPYTHON +PRIVATE_DEPENDENCIES = LIBLDB pyldb_util_OBJ_FILES = $(ldbsrcdir)/pyldb_util.o $(pyldb_OBJ_FILES): CFLAGS+=-I$(ldbsrcdir)/include |