summaryrefslogtreecommitdiff
path: root/package/socat/patches/patch-xio-ip4_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-25 16:06:10 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-25 16:06:10 +0100
commit7fac1b46c0be1b04ab3765f6528a41e8939b2cb2 (patch)
treee35015d49bc80e8fd3ad3f8976cb2b719132062b /package/socat/patches/patch-xio-ip4_c
parentf96036c0c81a8362742a64f9bb0118b28136b9e1 (diff)
forgot the patches
Diffstat (limited to 'package/socat/patches/patch-xio-ip4_c')
-rw-r--r--package/socat/patches/patch-xio-ip4_c12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/socat/patches/patch-xio-ip4_c b/package/socat/patches/patch-xio-ip4_c
new file mode 100644
index 000000000..15d5bd86b
--- /dev/null
+++ b/package/socat/patches/patch-xio-ip4_c
@@ -0,0 +1,12 @@
+--- socat-1.7.2.2.orig/xio-ip4.c 2010-10-06 09:25:30.000000000 +0200
++++ socat-1.7.2.2/xio-ip4.c 2013-12-25 15:46:30.000000000 +0100
+@@ -13,6 +13,9 @@
+ #include "xio-ip.h"
+ #include "xio-ip4.h"
+
++#if !defined(__GLIBC__)
++# define NETDB_INTERNAL -1
++#endif
+
+ int xioparsenetwork_ip4(const char *rangename, struct xiorange *range) {
+ struct hostent *maskaddr;