$NetBSD: patch-as,v 1.1 2002/10/04 08:59:38 jlam Exp $ --- DiskFunctions.cpp.orig Wed Jun 5 00:51:19 2002 +++ DiskFunctions.cpp @@ -18,6 +18,11 @@ #include #endif +#if defined(__FreeBSD__) || defined(__NetBSD__) +#include +#include +#endif + #include #include //the std I/O stuff #include @@ -167,7 +172,7 @@ wxLongLong GetFreeDiskSpace(const char * return freeBytes; } #elif defined(__WXGTK__) -#ifdef linux +#if defined(linux) || defined(__FreeBSD__) || defined(__NetBSD__) wxLongLong GetFreeDiskSpace(const char *path) { struct statfs theStats;