mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-29 21:32:22 +01:00
14 lines
291 B
Diff
14 lines
291 B
Diff
--- 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
|