Use proper defines for IPV6_PKTINFO on Mac OS X Lion and newer.

This commit is contained in:
Tobias Brunner 2012-06-13 15:02:10 +02:00
parent 2015c46985
commit f7cbc0fafe

View File

@ -22,6 +22,8 @@
#define _XPG4_2
#define __EXTENSIONS__
#endif
/* make sure to use the proper defs on Mac OS X */
#define __APPLE_USE_RFC_3542
#include "socket_default_socket.h"