From 10d8142e5db9fab0e169d73772f9d8715c294a5b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 22 Aug 2006 20:49:58 +0000 Subject: r17720: in standalone ldb build, some systems need sys/stat.h and a defn of comparison_fn_t (This used to be commit 99915268e60f6f877b639f1788ebdcf8105d6073) --- source4/lib/ldb/include/includes.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/lib/ldb') diff --git a/source4/lib/ldb/include/includes.h b/source4/lib/ldb/include/includes.h index 827290342f..76870aca6d 100644 --- a/source4/lib/ldb/include/includes.h +++ b/source4/lib/ldb/include/includes.h @@ -30,6 +30,8 @@ #include #include #include +#include +#include #include #ifdef HAVE_STDINT_H #include @@ -40,6 +42,9 @@ #define discard_const(ptr) ((void *)((intptr_t)(ptr))) #define discard_const_p(type, ptr) ((type *)discard_const(ptr)) +#ifndef HAVE_COMPARISON_FN_T +typedef int (*comparison_fn_t)(const void *, const void *); +#endif #include "talloc.h" -- cgit