improve SOLARIS guard
Change-Id: Ic5edb7c0977b6c589329cd80616aa320d6cc929b Signed-off-by: Michael Stahl <mstahl@redhat.com>
This commit is contained in:
parent
92c5bc7d6b
commit
5f35b74bb1
@ -43,7 +43,7 @@
|
||||
#include <sys/types.h>
|
||||
|
||||
/* Make sockets of type AF_UNIX use underlying FS rights */
|
||||
#ifdef SOLARIS
|
||||
#if defined(SOLARIS) && !defined(_XOPEN_SOURCE)
|
||||
# define _XOPEN_SOURCE 500
|
||||
# include <sys/socket.h>
|
||||
# undef _XOPEN_SOURCE
|
||||
|
Loading…
x
Reference in New Issue
Block a user