summaryrefslogtreecommitdiffhomepage
path: root/patches/socat-1.7.3.4.local.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/socat-1.7.3.4.local.patch')
-rw-r--r--patches/socat-1.7.3.4.local.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/socat-1.7.3.4.local.patch b/patches/socat-1.7.3.4.local.patch
new file mode 100644
index 00000000..0bf50739
--- /dev/null
+++ b/patches/socat-1.7.3.4.local.patch
@@ -0,0 +1,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