--- src/swapfile/swapfile_fs.c.orig Sat Oct 23 22:09:29 2004 +++ src/swapfile/swapfile_fs.c Tue Mar 29 23:11:17 2005 @@ -44,8 +44,12 @@ #define DEBUG 1 #endif -#include +#if __FreeBSD__ >= 5 +#define __BSD_VISIBLE 1 +#endif + #include +#include #include #include #include