mirror of
https://github.com/samba-team/samba.git
synced 2025-12-14 20:23:54 +03:00
r22681: Fix standalone ldb build when parent directory name != ldb.
(This used to be commit 1093875d59)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
be7eb080fe
commit
52fb06edc2
29
source4/lib/ldb/include/ldb_includes.h
Normal file
29
source4/lib/ldb/include/ldb_includes.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef _LDB_PRIVATE_INCLUDES_H_
|
||||
#define _LDB_PRIVATE_INCLUDES_H_
|
||||
/*
|
||||
a temporary includes file until I work on the ldb build system
|
||||
*/
|
||||
|
||||
#if (_SAMBA_BUILD_ >= 4)
|
||||
/* tell ldb we have the internal ldap code */
|
||||
#define HAVE_ILDAP 1
|
||||
#endif
|
||||
|
||||
#if (_SAMBA_BUILD_ <= 3)
|
||||
/* allow forbidden string functions - should be replaced with _m functions */
|
||||
#undef strcasecmp
|
||||
#undef strncasecmp
|
||||
#define dyn_MODULESDIR dyn_LIBDIR
|
||||
#endif
|
||||
|
||||
#include "replace.h"
|
||||
#include "system/filesys.h"
|
||||
#include "system/network.h"
|
||||
#include "system/time.h"
|
||||
#include "talloc.h"
|
||||
#include "ldb.h"
|
||||
#include "ldb_errors.h"
|
||||
#include "ldb_private.h"
|
||||
#include "dlinklist.h"
|
||||
|
||||
#endif /*_LDB_PRIVATE_INCLUDES_H_*/
|
||||
Reference in New Issue
Block a user