1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-05-22 21:02:41 +00:00

Fix for compiling on Solaris-11

This commit is contained in:
Gerhard 2025-02-17 20:33:18 +01:00
parent f0b30f3859
commit 9269897bab
2 changed files with 3 additions and 1 deletions

View file

@ -142,6 +142,8 @@ Porting:
Fixes for FreeBSD-15 (DCCP)
Fix for compiling on Solaris-11
Testing:
test.sh produces file results.txt with columns of test numbers, names,
and results.

View file

@ -1091,7 +1091,7 @@ int xiolog_ancillary_ip(
cmsgtype = "IP_OPTIONS"; cmsgname = "options"; cmsgctr = -1;
/*!!!*/
break;
#if XIO_ANCILLARY_TYPE_SOLARIS
#if defined(IP_RECVTOS) && XIO_ANCILLARY_TYPE_SOLARIS
case IP_RECVTOS:
#else
case IP_TOS: