summaryrefslogtreecommitdiffhomepage
path: root/patches/socat-1.7.3.4.local.patch
blob: 0bf507397118dea83f9762e8412bab1e62d449c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- socat-1.7.3.4/compat.h.orig	2019-04-04 09:59:55.000000000 +0100
+++ socat-1.7.3.4/compat.h	2021-01-12 12:41:10.675182890 +0000
@@ -695,6 +695,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