diff options
Diffstat (limited to 'audio/glame/files/patch-swapfile.c')
-rw-r--r-- | audio/glame/files/patch-swapfile.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/glame/files/patch-swapfile.c b/audio/glame/files/patch-swapfile.c new file mode 100644 index 000000000..412fee712 --- /dev/null +++ b/audio/glame/files/patch-swapfile.c @@ -0,0 +1,16 @@ +--- 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 <sys/stat.h> ++#if __FreeBSD__ >= 5 ++#define __BSD_VISIBLE 1 ++#endif ++ + #include <sys/types.h> ++#include <sys/stat.h> + #include <pthread.h> + #include <fcntl.h> + #include <dirent.h> |