diff --git a/CHANGES b/CHANGES index 26bdd28..24ae7d5 100644 --- a/CHANGES +++ b/CHANGES @@ -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. diff --git a/xio-ip.c b/xio-ip.c index a2ca953..2b7deaf 100644 --- a/xio-ip.c +++ b/xio-ip.c @@ -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: