get IPV6_PKTINFO defined by Darwin headers

This commit is contained in:
Barak A. Pearlmutter 2016-12-29 00:08:16 +01:00
parent 8e58aeb2ff
commit 4341c2707e

View file

@ -18,6 +18,12 @@
#ifndef __COMMON_H__ #ifndef __COMMON_H__
#define __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 */ /* Last byte of raw header is the command */
#define RAW_HDR_LEN 4 #define RAW_HDR_LEN 4
#define RAW_HDR_IDENT_LEN 3 #define RAW_HDR_IDENT_LEN 3