[Box Backup-commit] COMMIT r1993 - box/trunk

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Thu, 13 Dec 2007 00:18:46 +0000 (UTC)


Author: chris
Date: 2007-12-13 00:18:45 +0000 (Thu, 13 Dec 2007)
New Revision: 1993

Modified:
   box/trunk/configure.ac
Log:
Include the header file where dirfd() is supposed to be defined,
otherwise we can expect not to find it and cause problems later
with our own definition.


Modified: box/trunk/configure.ac
===================================================================
--- box/trunk/configure.ac	2007-12-09 12:11:13 UTC (rev 1992)
+++ box/trunk/configure.ac	2007-12-13 00:18:45 UTC (rev 1993)
@@ -168,7 +168,10 @@
 AC_CHECK_DECL([dirfd],
 	[],
 	AC_DEFINE([dirfd(x)], [(x)->d_fd], [dirfd() replacement for Solaris]),
-	[#include <getopt.h>])
+	[
+		#include <getopt.h>
+		#include <dirent.h>
+	])
 
 AC_HEADER_TIME
 AC_STRUCT_TM