summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/lib/ldb/config.mk1
-rw-r--r--source/lib/ldb/tools/ad2oLschema.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/source/lib/ldb/config.mk b/source/lib/ldb/config.mk
index e73250d7a7a..66e6075ed5e 100644
--- a/source/lib/ldb/config.mk
+++ b/source/lib/ldb/config.mk
@@ -201,6 +201,7 @@ OBJ_FILES = \
################################################
# Start SUBSYSTEM LIBLDB_CMDLINE
[SUBSYSTEM::LIBLDB_CMDLINE]
+CFLAGS = -Ilib/ldb
OBJ_FILES= \
tools/cmdline.o
PUBLIC_DEPENDENCIES = ldb LIBPOPT
diff --git a/source/lib/ldb/tools/ad2oLschema.c b/source/lib/ldb/tools/ad2oLschema.c
index 2287882e235..d04260103d6 100644
--- a/source/lib/ldb/tools/ad2oLschema.c
+++ b/source/lib/ldb/tools/ad2oLschema.c
@@ -33,10 +33,10 @@
*/
#include "includes.h"
-#include "ldb/include/includes.h"
+#include "ldb_includes.h"
#include "system/locale.h"
-#include "ldb/tools/cmdline.h"
-#include "ldb/tools/convert.h"
+#include "tools/cmdline.h"
+#include "tools/convert.h"
struct schema_conv {
int count;