* sys-statvfs.c: Include "map.h" for Mono_Posix_ToMountFlags prototype.
authorJonathan Pryor <jpryor@novell.com>
Mon, 16 May 2005 17:31:19 +0000 (17:31 -0000)
committerJonathan Pryor <jpryor@novell.com>
Mon, 16 May 2005 17:31:19 +0000 (17:31 -0000)
  * map.c: Include <sys/statvfs.h> so Mono_Posix_{To,From}MountFlags actually
    does something useful.

svn path=/trunk/mono/; revision=44574

support/ChangeLog
support/map.c
support/sys-statvfs.c

index ff57639f73e24ec8ef4d09cf9d2c8d7fd6c6c600..8efaa6900d16a3fdca26c508c9d8675f89d100ba 100644 (file)
@@ -1,3 +1,9 @@
+2005-05-16  Jonathan Pryor  <jonpryor@vt.edu>
+
+       * sys-statvfs.c: Include "map.h" for Mono_Posix_ToMountFlags prototype.
+       * map.c: Include <sys/statvfs.h> so Mono_Posix_{To,From}MountFlags actually
+         does something useful.
+
 2005-05-12  Jonathan Pryor  <jonpryor@vt.edu>
 
        * map.c, map.h: Add FromMountFlags, ToMountFlags.  (MountFlags is used in
index e483d86e0ca7426ad72c410aa32f833d0ebeaa0a..b3b7d7ddbd1db270561cc53278b0d5005ef18ec8 100644 (file)
@@ -34,6 +34,9 @@
 #ifdef HAVE_SYSLOG_H
 #include <syslog.h>
 #endif
+#ifdef HAVE_SYS_STATVFS_H
+#include <sys/statvfs.h>
+#endif
 
 int Mono_Posix_FromError (int x, int *r)
 {
index d3f571ef5421516224a5b49427fc860f7a993f7d..958b7c28d56dcf3f19a79de6ed2820a01c07fec2 100644 (file)
@@ -12,6 +12,7 @@
 #include <string.h>
 
 #include "mph.h"
+#include "map.h"
 
 #ifdef HAVE_SYS_STATVFS_H
 #include <sys/statvfs.h>