summaryrefslogtreecommitdiff
path: root/debian/patches/0705-hurd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0705-hurd.patch')
-rw-r--r--debian/patches/0705-hurd.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/0705-hurd.patch b/debian/patches/0705-hurd.patch
new file mode 100644
index 0000000..70dabaa
--- /dev/null
+++ b/debian/patches/0705-hurd.patch
@@ -0,0 +1,21 @@
+Description: Add hurd/system.h
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Last-Update: 2015-06-21
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+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>
+