summaryrefslogtreecommitdiff
path: root/debian/patches/0100-hurd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0100-hurd.patch')
-rw-r--r--debian/patches/0100-hurd.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/0100-hurd.patch b/debian/patches/0100-hurd.patch
new file mode 100644
index 0000000..bc6c4d5
--- /dev/null
+++ b/debian/patches/0100-hurd.patch
@@ -0,0 +1,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>
+