summaryrefslogtreecommitdiff
path: root/debian/patches/0705-hurd.patch
blob: 70dabaa796dedd9f39bd5c39adb03ce01c9b0f68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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>