mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 12:59:17 -04:00
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>
16 lines
440 B
C++
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
|