ports/net/amule-devel/files/patch-DownloadQueue.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
440 B
C++

--- src/DownloadQueue.cpp.orig Sat Oct 23 05:04:50 2004
+++ src/DownloadQueue.cpp Sat Oct 23 05:07:18 2004
@@ -24,6 +24,13 @@
#include <winsock.h>
#include <wx/msw/winundef.h>
#else
+
+ #if defined(__FreeBSD__)
+ #if __FreeBSD__ < 5
+ #include <sys/types.h>
+ #endif
+ #endif
+
#include <netdb.h> // Needed for gethostbyname_r
#include <sys/socket.h> //
#include <netinet/in.h> // These three are needed for inet_ntoa