ports/net/amule-devel/files/patch-UploadQueue.cpp
Edwin Groothuis ad93e1744d [NEW PORT] net/amule-devel (aMule 2.0.0rc7)
This port is designed to manage the "unstable" branch of
	aMule, currently aMule 2.0.0rc7.

PR:		ports/73502
Submitted by:	Ganael LAPLANCHE <ganael.laplanche@martymac.com>
2004-12-15 07:13:05 +00:00

16 lines
384 B
C++

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