added _GNU_SOURCE and limits.h to build against glibc-2.8
[strongswan.git] / src / charon / network / socket.c
index cedfc08..2b854c6 100644 (file)
@@ -17,6 +17,9 @@
  * $Id$
  */
 
+/* for struct in6_pktinfo */
+#define _GNU_SOURCE
+
 #include <pthread.h>
 #include <sys/types.h>
 #include <sys/socket.h>