Blob Blame History Raw
--- 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