pkgsrc/sysutils/gnome-vfs/patches/patch-ao
2007-09-19 22:22:33 +00:00

17 lines
387 B
Text

$NetBSD: patch-ao,v 1.1 2007/09/19 22:22:39 wiz Exp $
--- libgnomevfs/gnome-vfs-utils.c.orig 2005-09-15 13:02:53.000000000 +0200
+++ libgnomevfs/gnome-vfs-utils.c
@@ -49,6 +49,12 @@
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/types.h>
+
+#ifdef __APPLE__
+#include <sys/mount.h>
+#define HAVE_STATVFS 0
+#endif
+
#include <unistd.h>
#define KILOBYTE_FACTOR 1024.0