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