b723485ba4
Bug fixes.
19 lines
749 B
Text
19 lines
749 B
Text
$NetBSD: patch-aa,v 1.6 2007/12/05 07:49:44 martti Exp $
|
|
|
|
--- panel-plugin/fsguard.c.orig 2007-10-20 20:49:18.000000000 +0000
|
|
+++ panel-plugin/fsguard.c 2007-12-05 06:41:00.000000000 +0000
|
|
@@ -40,10 +40,13 @@
|
|
#include <sys/stat.h>
|
|
#if defined(__linux__)
|
|
#include <sys/vfs.h>
|
|
-#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD_kernel__)
|
|
+#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
|
|
#include <sys/param.h>
|
|
#include <sys/mount.h>
|
|
#endif
|
|
+#if defined(__NetBSD__) && (__NetBSD_Version__ > 299000900) /* NetBSD 2.99.9 */
|
|
+#define statfs statvfs
|
|
+#endif
|
|
|
|
#include <gtk/gtk.h>
|
|
#include <libxfce4util/libxfce4util.h>
|