From 4f5116649453539a307cc6be7c0b274d70014e5a Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Wed, 8 Dec 2021 16:13:48 -0500 Subject: [PATCH] Update src/inet/UDPEndPointImplSockets.cpp Co-authored-by: Tennessee Carmel-Veilleux --- src/inet/UDPEndPointImplSockets.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/inet/UDPEndPointImplSockets.cpp b/src/inet/UDPEndPointImplSockets.cpp index 284db8fba26edb..6cb255a6d9f0fa 100644 --- a/src/inet/UDPEndPointImplSockets.cpp +++ b/src/inet/UDPEndPointImplSockets.cpp @@ -21,6 +21,8 @@ * This file implements Inet::UDPEndPoint using sockets. */ +// Required to properly support underlying RFC3542-related fields to IPV6_PKTINFO +// on Darwin. #define __APPLE_USE_RFC_3542 #include