mirror of
https://repo.or.cz/socat.git
synced 2025-07-20 09:52:56 +00:00
Fix for old FreeBSD
This commit is contained in:
parent
fa67d7d380
commit
5e56f25285
2 changed files with 8 additions and 1 deletions
4
compat.h
4
compat.h
|
@ -98,6 +98,10 @@ typedef int sig_atomic_t;
|
|||
# define SOL_IPV6 IPPROTO_IPV6
|
||||
#endif
|
||||
|
||||
#ifndef EAI_NODATA
|
||||
# define EAI_NODATA 7 /* for old FreeBSD */
|
||||
#endif
|
||||
|
||||
#define F_uint8_t "%hu"
|
||||
#define F_uint8_x "%02hx"
|
||||
#define F_int8_t "%hd"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue