summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-05-14 22:16:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:43 -0500
commite5a3ec0e5b9bc7d85d3c64f0ce9628f788065d84 (patch)
treef7b4d47e7dd174ab00181e3b3e66329ba446be82 /source4/lib/ldb/include
parent770b47415d717871eecab4d9a91cc1945609c587 (diff)
downloadsamba-e5a3ec0e5b9bc7d85d3c64f0ce9628f788065d84.tar.gz
samba-e5a3ec0e5b9bc7d85d3c64f0ce9628f788065d84.tar.bz2
samba-e5a3ec0e5b9bc7d85d3c64f0ce9628f788065d84.zip
r6790: Use config.h file for ldb and add test for stdint.h
(This used to be commit c1f1b5a9455c827f7baf382d919ab8a0eab49bb3)
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r--source4/lib/ldb/include/includes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/lib/ldb/include/includes.h b/source4/lib/ldb/include/includes.h
index 66b984a87d..8b513e20c7 100644
--- a/source4/lib/ldb/include/includes.h
+++ b/source4/lib/ldb/include/includes.h
@@ -5,8 +5,8 @@
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
+#include "config.h"
#include <stdio.h>
-#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
@@ -18,7 +18,9 @@
#include <fnmatch.h>
#include <sys/time.h>
#include <time.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#include "ldb.h"
#include "ldb_private.h"