From 4341c2707e55e29bf10b407ba0ec40c6d2357f4f Mon Sep 17 00:00:00 2001 From: "Barak A. Pearlmutter" Date: Thu, 29 Dec 2016 00:08:16 +0100 Subject: [PATCH] get IPV6_PKTINFO defined by Darwin headers --- src/common.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common.h b/src/common.h index 2de23e9..9aad5b5 100644 --- a/src/common.h +++ b/src/common.h @@ -18,6 +18,12 @@ #ifndef __COMMON_H__ #define __COMMON_H__ +#ifdef DARWIN +#ifndef __APPLE_USE_RFC_3542 +#define __APPLE_USE_RFC_2292 +#endif +#endif + /* Last byte of raw header is the command */ #define RAW_HDR_LEN 4 #define RAW_HDR_IDENT_LEN 3