svn commit: samba r16095 - in trunk/source: . include

vlendec at samba.org vlendec at samba.org
Thu Jun 8 11:45:16 GMT 2006


Author: vlendec
Date: 2006-06-08 11:45:16 +0000 (Thu, 08 Jun 2006)
New Revision: 16095

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16095

Log:
Attempt to fix the build
Modified:
   trunk/source/configure.in
   trunk/source/include/includes.h


Changeset:
Modified: trunk/source/configure.in
===================================================================
--- trunk/source/configure.in	2006-06-08 09:08:45 UTC (rev 16094)
+++ trunk/source/configure.in	2006-06-08 11:45:16 UTC (rev 16095)
@@ -954,6 +954,8 @@
 AC_CHECK_TYPE(offset_t,loff_t)
 AC_CHECK_TYPE(ssize_t, int)
 AC_CHECK_TYPE(wchar_t, unsigned short)
+AC_CHECK_TYPE(comparison_fn_t, 
+[AC_DEFINE(HAVE_COMPARISON_FN_T, 1,[Whether or not we have comparison_fn_t])])
 
 ############################################
 # for cups support we need libcups, and a handful of header files

Modified: trunk/source/include/includes.h
===================================================================
--- trunk/source/include/includes.h	2006-06-08 09:08:45 UTC (rev 16094)
+++ trunk/source/include/includes.h	2006-06-08 11:45:16 UTC (rev 16095)
@@ -1083,6 +1083,10 @@
 #define QSORT_CAST (int (*)(const void *, const void *))
 #endif
 
+#ifndef HAVE_COMPARISON_FN_T
+typedef int (*comparison_fn_t)(const void *, const void *);
+#endif
+
 #ifndef DEFAULT_PRINTING
 #ifdef HAVE_CUPS
 #define DEFAULT_PRINTING PRINT_CUPS



More information about the samba-cvs mailing list