aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/support/port_platform.h
diff options
context:
space:
mode:
authorGravatar Robbie Shade <robbie.shade@gmail.com>2015-08-13 19:03:05 -0400
committerGravatar Robbie Shade <robbie.shade@gmail.com>2015-08-13 19:03:05 -0400
commita294487e37a8aeb47859423ee2fb6aec18cdae13 (patch)
treef951078a04867b7a227330bef8df87ddedfe75f8 /include/grpc/support/port_platform.h
parenta2f3652040144f5cc72ddc986fc683a16dc5738a (diff)
Add Apple specific #define for IPV6_RECVPKTINFO
Diffstat (limited to 'include/grpc/support/port_platform.h')
-rw-r--r--include/grpc/support/port_platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc/support/port_platform.h b/include/grpc/support/port_platform.h
index 57fed18cf6..d5745f9878 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 <TargetConditionals.h>
+/* Provides IPV6_RECVPKTINFO */
+#define __APPLE_USE_RFC_3542
#ifndef _BSD_SOURCE
#define _BSD_SOURCE
#endif