From 9269897babb8158bd948929b575837c75ea06bdc Mon Sep 17 00:00:00 2001 From: Gerhard <Gerhard> Date: Mon, 17 Feb 2025 20:33:18 +0100 Subject: [PATCH] Fix for compiling on Solaris-11 --- CHANGES | 2 ++ xio-ip.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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: