diff options
author | Simo Sorce <idra@samba.org> | 2009-02-23 17:35:49 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-02-23 17:38:11 -0500 |
commit | 1cd7fe71940b7420dd478321b8368a31ae713917 (patch) | |
tree | 4f03599f3aa40521a5a142fa6f37160233ff8d62 /source4/lib/ldb/include/ldb_private.h | |
parent | cf7539abfb0f6e6956bed7a478e0cda6ab734674 (diff) | |
download | samba-1cd7fe71940b7420dd478321b8368a31ae713917.tar.gz samba-1cd7fe71940b7420dd478321b8368a31ae713917.tar.bz2 samba-1cd7fe71940b7420dd478321b8368a31ae713917.zip |
Fix headers, ldb_includes.h is a private header,
do not reference it from ldb.h
Diffstat (limited to 'source4/lib/ldb/include/ldb_private.h')
-rw-r--r-- | source4/lib/ldb/include/ldb_private.h | 5 |
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[], |