1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-25 06:26:05 +03:00

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__
#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