summaryrefslogblamecommitdiff
path: root/user/socat/netdb-internal.patch
blob: d1ebc8e5be004c3455e6d2e162aa8610ebfe350b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13











                                                     
--- socat-1.7.2.4.orig/compat.h
+++ socat-1.7.2.4/compat.h
@@ -656,6 +656,10 @@
 #  define NETDB_INTERNAL h_NETDB_INTERNAL
 #endif
 
+#if !defined(NETDB_INTERNAL)
+#  define NETDB_INTERNAL (-1)
+#endif
+
 #ifndef INET_ADDRSTRLEN
 #  define INET_ADDRSTRLEN sizeof(struct sockaddr_in)
 #endif