Ticket #39602: patch-Port-bsd-lowlevel-bsd.c.diff
File patch-Port-bsd-lowlevel-bsd.c.diff, 717 bytes (added by fclaire@…, 11 years ago) |
---|
-
Port-bsd/lowlevel-bsd.c
old new 10 10 * 11 11 */ 12 12 13 #define __APPLE_USE_RFC_3542 13 14 #include <stdio.h> 14 15 #include <arpa/inet.h> 15 16 #include <netinet/in.h> … … 328 329 } 329 330 330 331 /* Mac OS X have IPV6_PKTINFO only */ 331 /* OpenBSD, NetBSD require IPV6_RECVPKTINFO */332 /* OpenBSD, NetBSD require IPV6_RECVPKTINFO 332 333 #if (HAVE_DECL_IPV6_RECVPKTINFO == 0) && (HAVE_DECL_IPV6_PKTINFO == 0) 333 334 #error "Both IPV6_RECVPKTINFO and IPV6_PKTINFO not defined. Need at least one of them" 334 #endif 335 #endif */ 335 336 336 337 /* Set the options to receive info about ipv6 traffic */ 337 338 #if HAVE_DECL_IPV6_RECVPKTINFO == 1