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

--- src/UDPSocket.cpp.orig Fri Oct 1 09:06:52 2004
+++ src/UDPSocket.cpp Sat Oct 23 05:18:16 2004
@@ -23,6 +23,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>
#include <sys/socket.h>
#include <netinet/in.h>