summaryrefslogtreecommitdiff
path: root/package/socat/patches/patch-xio-proxy_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/socat/patches/patch-xio-proxy_c')
-rw-r--r--package/socat/patches/patch-xio-proxy_c12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/socat/patches/patch-xio-proxy_c b/package/socat/patches/patch-xio-proxy_c
new file mode 100644
index 000000000..f378841cd
--- /dev/null
+++ b/package/socat/patches/patch-xio-proxy_c
@@ -0,0 +1,12 @@
+--- socat-1.7.2.2.orig/xio-proxy.c 2011-12-06 08:45:03.000000000 +0100
++++ socat-1.7.2.2/xio-proxy.c 2013-12-25 15:47:38.000000000 +0100
+@@ -16,6 +16,9 @@
+
+ #include "xio-proxy.h"
+
++#if !defined(__GLIBC__)
++# define NETDB_INTERNAL -1
++#endif
+
+ #define PROXYPORT "8080"
+