summaryrefslogtreecommitdiff
path: root/net/amule-devel/files/patch-UploadQueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net/amule-devel/files/patch-UploadQueue.cpp')
-rw-r--r--net/amule-devel/files/patch-UploadQueue.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/amule-devel/files/patch-UploadQueue.cpp b/net/amule-devel/files/patch-UploadQueue.cpp
new file mode 100644
index 000000000000..819d6168b4e5
--- /dev/null
+++ b/net/amule-devel/files/patch-UploadQueue.cpp
@@ -0,0 +1,16 @@
+--- src/UploadQueue.cpp.orig Sat Oct 23 05:33:01 2004
++++ src/UploadQueue.cpp Sat Oct 23 05:35:59 2004
+@@ -19,6 +19,13 @@
+
+ #include <cstring>
+ #include <cmath> // Needed for std::exp
++
++#if defined(__FreeBSD__) // for FreeBSD 4.x
++ #if __FreeBSD__ < 5
++ #include <algorithm> // needed for std::find
++ #endif
++#endif
++
+ #include "types.h"
+ #ifdef __WXMSW__
+ #include <winsock.h>