diff options
Diffstat (limited to 'user/socat/netdb-internal.patch')
-rw-r--r-- | user/socat/netdb-internal.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/user/socat/netdb-internal.patch b/user/socat/netdb-internal.patch new file mode 100644 index 000000000..d1ebc8e5b --- /dev/null +++ b/user/socat/netdb-internal.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 |