Enable CMSG headers and macros on OpenSolaris.
This commit is contained in:
1 parent
8c3627c5ae
commit
932fdc38de
1 file changed
+4
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user