summaryrefslogtreecommitdiff
path: root/net/amule/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/amule/patches/patch-aa')
-rw-r--r--net/amule/patches/patch-aa16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/amule/patches/patch-aa b/net/amule/patches/patch-aa
new file mode 100644
index 00000000000..9f4773d0771
--- /dev/null
+++ b/net/amule/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.3 2005/03/16 19:06:10 rillig Exp $
+
+<net/if.h> requires <sys/socket.h>
+
+--- src/SysTray.cpp.orig Tue Mar 15 19:02:17 2005
++++ src/SysTray.cpp Tue Mar 15 19:01:55 2005
+@@ -23,6 +23,9 @@
+ #include "sys.h"
+ #include <libintl.h>
+ #include <clocale> // Needed for setlocale(3)
++#ifdef __NetBSD__
++# include <sys/socket.h>
++#endif
+ #include <net/if.h> // Needed for struct ifreq
+ #include <sys/socket.h> //
+ #include <netinet/in.h> // Needed for inet_ntoa