From 91af19a6b72234ae24e65423c12263b875b0af82 Mon Sep 17 00:00:00 2001 From: Gerhard Rieger Date: Fri, 26 Sep 2008 11:54:08 +0200 Subject: [PATCH] Cygwin port: IP_RECVOPTS conditional --- xio-ip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xio-ip.c b/xio-ip.c index 1c7a8ab..34d25cc 100644 --- a/xio-ip.c +++ b/xio-ip.c @@ -527,7 +527,9 @@ int xiolog_ancillary_ip(struct cmsghdr *cmsg, int *num, #endif #endif /* WITH_IP4 */ case IP_OPTIONS: +#ifdef IP_RECVOPTS case IP_RECVOPTS: +#endif cmsgtype = "IP_OPTIONS"; cmsgname = "options"; cmsgfmt = NULL; break; case IP_TOS: cmsgtype = "IP_TOS"; cmsgname = "tos"; cmsgfmt = "%u"; break;