Enable CMSG headers and macros on OpenSolaris.

This commit is contained in:
Tobias Brunner
2009-08-14 14:50:52 +02:00
parent 8c3627c5ae
commit 932fdc38de
+4
View File
@@ -18,6 +18,10 @@
/* for struct in6_pktinfo */
#define _GNU_SOURCE
#ifdef __sun
#define _XPG4_2
#define __EXTENSIONS__
#endif
#include <pthread.h>
#include <sys/types.h>