aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp')
-rw-r--r--net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp b/net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp
new file mode 100644
index 000000000000..ea0156332167
--- /dev/null
+++ b/net-p2p/libtorrent-rasterbar-14/files/patch-src__storage.cpp
@@ -0,0 +1,15 @@
+--- src/storage.cpp.orig Sat Aug 25 15:26:43 2007
++++ src/storage.cpp Mon Sep 10 12:51:23 2007
+@@ -75,9 +75,11 @@
+ #include <cstdio>
+ #endif
+
+-#if defined(__APPLE__)
++#if defined(__APPLE__) || defined(__FreeBSD__)
+ // for getattrlist()
++#ifdef __APPLE__
+ #include <sys/attr.h>
++#endif
+ #include <unistd.h>
+ // for statfs()
+ #include <sys/param.h>