mirror of
https://repo.or.cz/socat.git
synced 2025-07-08 13:36:32 +00:00
Missing NETDB_INTERNAL now falls back to -1
This commit is contained in:
parent
54cbb0bb09
commit
efc654f85a
3 changed files with 8 additions and 0 deletions
2
compat.h
2
compat.h
|
@ -851,6 +851,8 @@ typedef unsigned long T_sigset;
|
|||
|
||||
#if !defined(NETDB_INTERNAL) && defined(h_NETDB_INTERNAL)
|
||||
# define NETDB_INTERNAL h_NETDB_INTERNAL
|
||||
#elif !defined(NETDB_INTERNAL)
|
||||
# define NETDB_INTERNAL (-1)
|
||||
#endif
|
||||
|
||||
#ifndef INET_ADDRSTRLEN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue