summaryrefslogtreecommitdiff
path: root/package/socat/patches/patch-xio-proxy_c
blob: f378841cd0d60b6ba3eadd89d18754e934ba5eaf (plain)
1
2
3
4
5
6
7
8
9
10
11
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"