improve SOLARIS guard

Change-Id: Ic5edb7c0977b6c589329cd80616aa320d6cc929b
Signed-off-by: Michael Stahl <mstahl@redhat.com>
This commit is contained in:
Richard PALO 2014-11-10 17:30:44 +01:00 committed by Michael Stahl
parent 92c5bc7d6b
commit 5f35b74bb1

View File

@ -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