$NetBSD$

--- main/share/gb_file_temp.h.orig	2006-01-20 12:08:54.000000000 +0100
+++ main/share/gb_file_temp.h	2006-04-20 20:41:11.000000000 +0200
@@ -45,6 +45,9 @@
 
 #ifdef OS_FREEBSD
 #include <sys/mount.h>
+#elif defined(OS_NETBSD)
+#include <sys/statvfs.h>
+#define statfs statvfs
 #else
 #include <sys/statfs.h>
 #endif
