[Box Backup-dev] COMMIT r410 - box/chris/win32/cygwin-compile-fixes/infrastructure/m4

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Wed Feb 8 00:21:44 GMT 2006


Author: chris
Date: 2006-02-08 00:21:31 +0000 (Wed, 08 Feb 2006)
New Revision: 410

Modified:
   box/chris/win32/cygwin-compile-fixes/infrastructure/m4/ax_check_mount_point.m4
Log:
* ax_check_mount_point.m4
- Cygwin needs <stdio.h> before <mntent.h>


Modified: box/chris/win32/cygwin-compile-fixes/infrastructure/m4/ax_check_mount_point.m4
===================================================================
--- box/chris/win32/cygwin-compile-fixes/infrastructure/m4/ax_check_mount_point.m4	2006-02-08 00:20:17 UTC (rev 409)
+++ box/chris/win32/cygwin-compile-fixes/infrastructure/m4/ax_check_mount_point.m4	2006-02-08 00:21:31 UTC (rev 410)
@@ -34,7 +34,10 @@
     #include <sys/mount.h>
     ]])
   # Linux
-  AC_CHECK_MEMBERS([struct mntent.mnt_dir],,, [[#include <mntent.h>]])
+  AC_CHECK_MEMBERS([struct mntent.mnt_dir],,, [[
+    #include <stdio.h>
+    #include <mntent.h>
+    ]])
   # Solaris
   AC_CHECK_MEMBERS([struct mnttab.mnt_mountp],,, [[
     #include <stdio.h>




More information about the Boxbackup-dev mailing list