1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-20 08:23:50 +03:00

r12829: fix ldb headers, to not include '<...>' files in .c files

this helps in getting symbol -fvisibility=hidden (GCC 4 feature) working later.

metze
This commit is contained in:
Stefan Metzmacher
2006-01-10 16:48:32 +00:00
committed by Gerald (Jerry) Carter
parent ad189553f4
commit 380938e97f
41 changed files with 79 additions and 172 deletions

View File

@@ -1,7 +1,17 @@
#ifndef _LDB_PRIVATE_INCLUDES_H_
#define _LDB_PRIVATE_INCLUDES_H_
/*
a temporary includes file until I work on the ldb build system
*/
#ifdef _SAMBA_BUILD_
#include "system/filesys.h"
#include "system/iconv.h"
#include "system/time.h"
#else /*_SAMBA_BUILD_*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
@@ -22,9 +32,16 @@
#include <stdint.h>
#endif
#include "ldb.h"
#include "ldb_private.h"
#include "talloc.h"
#define discard_const(ptr) ((void *)((intptr_t)(ptr)))
#define discard_const_p(type, ptr) ((type *)discard_const(ptr))
#include "talloc.h"
#endif /*_SAMBA_BUILD_*/
#include "ldb.h"
#include "ldb_errors.h"
#include "ldb_private.h"
#include "dlinklist.h"
#endif /*_LDB_PRIVATE_INCLUDES_H_*/