summaryrefslogtreecommitdiffstats
path: root/net/amule-devel/files/patch-DownloadQueue.cpp
blob: ff564f8e9e5e5b54c2662264c7433adfa91a3425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- 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
OpenPOWER on IntegriCloud