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