Enable CMSG headers and macros on OpenSolaris.

This commit is contained in:
Tobias Brunner 2009-08-14 14:32:18 +02:00
parent 8c3627c5ae
commit 932fdc38de
1 changed files with 4 additions and 0 deletions

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>