svn commit: samba r17720 - in
branches/SAMBA_4_0/source/lib/ldb/include: .
tridge at samba.org
tridge at samba.org
Tue Aug 22 20:49:59 GMT 2006
Author: tridge
Date: 2006-08-22 20:49:58 +0000 (Tue, 22 Aug 2006)
New Revision: 17720
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17720
Log:
in standalone ldb build, some systems need sys/stat.h and a defn of
comparison_fn_t
Modified:
branches/SAMBA_4_0/source/lib/ldb/include/includes.h
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/include/includes.h
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/include/includes.h 2006-08-22 20:39:01 UTC (rev 17719)
+++ branches/SAMBA_4_0/source/lib/ldb/include/includes.h 2006-08-22 20:49:58 UTC (rev 17720)
@@ -30,6 +30,8 @@
#include <unistd.h>
#include <fnmatch.h>
#include <sys/time.h>
+#include <sys/types.h>
+#include <sys/stat.h>
#include <time.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
@@ -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"
More information about the samba-cvs
mailing list