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
1 changed files with 6 additions and 0 deletions

View File

@ -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