From 5f35b74bb1367a07b1f2d85c6665b31c906b9538 Mon Sep 17 00:00:00 2001 From: Richard PALO Date: Mon, 10 Nov 2014 17:30:44 +0100 Subject: [PATCH] improve SOLARIS guard Change-Id: Ic5edb7c0977b6c589329cd80616aa320d6cc929b Signed-off-by: Michael Stahl --- sal/osl/unx/system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sal/osl/unx/system.h b/sal/osl/unx/system.h index d952518515b7..b3162f17dcde 100644 --- a/sal/osl/unx/system.h +++ b/sal/osl/unx/system.h @@ -43,7 +43,7 @@ #include /* Make sockets of type AF_UNIX use underlying FS rights */ -#ifdef SOLARIS +#if defined(SOLARIS) && !defined(_XOPEN_SOURCE) # define _XOPEN_SOURCE 500 # include # undef _XOPEN_SOURCE