1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/audio/glame/files/patch-swapfile.c
Michael Johnson faa4dd5e19 - Update to 2.0.1
PR:		79460
Submitted by:	Ports Fury
2005-07-24 03:27:08 +00:00

17 lines
353 B
C

--- 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>