summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include/ldb_private.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-02-24 01:02:45 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-02-24 01:02:45 +0100
commitfff055f8e33a8f0bbb5e7cc5b77d6251bf37e0cf (patch)
treeba4bb09fa2c79955c247a637cdd20290a249d960 /source4/lib/ldb/include/ldb_private.h
parentb9cf189404d5ef6b0a2440dc5f9670f0f6d0c131 (diff)
parent1a9bb33a7db393aff970619f20490e755f0d282b (diff)
downloadsamba-fff055f8e33a8f0bbb5e7cc5b77d6251bf37e0cf.tar.gz
samba-fff055f8e33a8f0bbb5e7cc5b77d6251bf37e0cf.tar.bz2
samba-fff055f8e33a8f0bbb5e7cc5b77d6251bf37e0cf.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source4/lib/ldb/include/ldb_private.h')
-rw-r--r--source4/lib/ldb/include/ldb_private.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/source4/lib/ldb/include/ldb_private.h b/source4/lib/ldb/include/ldb_private.h
index 1ce9e9ecfd..2e8da9941c 100644
--- a/source4/lib/ldb/include/ldb_private.h
+++ b/source4/lib/ldb/include/ldb_private.h
@@ -37,6 +37,7 @@
#ifndef _LDB_PRIVATE_H_
#define _LDB_PRIVATE_H_ 1
+#include "ldb_includes.h"
#include "ldb.h"
#include "ldb_module.h"
@@ -109,10 +110,6 @@ struct ldb_context {
struct tevent_context *ev_ctx;
};
-#ifndef ARRAY_SIZE
-#define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0]))
-#endif
-
/* The following definitions come from lib/ldb/common/ldb.c */
int ldb_connect_backend(struct ldb_context *ldb, const char *url, const char *options[],