Use proper defines for IPV6_PKTINFO on Mac OS X Lion and newer.
authorTobias Brunner <tobias@strongswan.org>
Wed, 13 Jun 2012 13:02:10 +0000 (15:02 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 13 Jun 2012 13:02:10 +0000 (15:02 +0200)
src/libcharon/plugins/socket_default/socket_default_socket.c

index 0ed1f82..d1c5626 100644 (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"