From a294487e37a8aeb47859423ee2fb6aec18cdae13 Mon Sep 17 00:00:00 2001 From: Robbie Shade Date: Thu, 13 Aug 2015 19:03:05 -0400 Subject: [PATCH] Add Apple specific #define for IPV6_RECVPKTINFO --- include/grpc/support/port_platform.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/grpc/support/port_platform.h b/include/grpc/support/port_platform.h index 57fed18cf68..d5745f98784 100644 --- a/include/grpc/support/port_platform.h +++ b/include/grpc/support/port_platform.h @@ -173,6 +173,8 @@ #endif /* _LP64 */ #elif defined(__APPLE__) #include +/* Provides IPV6_RECVPKTINFO */ +#define __APPLE_USE_RFC_3542 #ifndef _BSD_SOURCE #define _BSD_SOURCE #endif