Cygwin port: IP_RECVOPTS conditional

This commit is contained in:
Gerhard Rieger 2008-09-26 11:54:08 +02:00
parent 43bb8e9ed6
commit 91af19a6b7
1 changed files with 2 additions and 0 deletions

View File

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