mirror of
https://repo.or.cz/socat.git
synced 2025-05-28 15:08:32 +00:00
Fix for old FreeBSD
This commit is contained in:
parent
fa67d7d380
commit
5e56f25285
2 changed files with 8 additions and 1 deletions
5
CHANGES
5
CHANGES
|
@ -17,11 +17,14 @@ Corrections:
|
|||
Building:
|
||||
Disabling certain features during configure could break build process.
|
||||
|
||||
Porting:
|
||||
Fix for old FreeBSD.
|
||||
|
||||
Testing:
|
||||
test.sh produces file results.txt with columns of test numbers, names,
|
||||
and results.
|
||||
|
||||
Fixed a few testing issues
|
||||
Fixed a few testing issues.
|
||||
|
||||
####################### V 1.8.0.2:
|
||||
|
||||
|
|
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