summaryrefslogtreecommitdiff
path: root/debian/patches/0100-hurd.patch
blob: bc6c4d5e3fe5c762c87492a5fa8cc1b4b34031a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: trunk/lib/psocksxx/sockstreambuf.h
===================================================================
--- trunk.orig/lib/psocksxx/sockstreambuf.h
+++ trunk/lib/psocksxx/sockstreambuf.h
@@ -25,6 +25,11 @@
 
 #include <streambuf>
 #include <sys/socket.h>
+
+#if defined(__GNU__) || defined(__gnu_hurd__)
+#include <hurd/socket.h>
+#endif
+
 #include <netinet/in.h>
 #include <unistd.h>