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