1
0
Fork 0
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:
Gerhard Rieger 2025-01-29 21:58:08 +01:00
parent fa67d7d380
commit 5e56f25285
2 changed files with 8 additions and 1 deletions

View file

@ -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:

View file

@ -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"