diff options
author | Richard PALO <richard@NetBSD.org> | 2014-11-10 17:30:44 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-11-11 19:44:56 +0100 |
commit | 5f35b74bb1367a07b1f2d85c6665b31c906b9538 (patch) | |
tree | c18060fd345f2edb87a4d7a2ea8b7fa7da506839 | |
parent | 92c5bc7d6bc9dec429114a0f72f6f5989d70f731 (diff) |
improve SOLARIS guard
Change-Id: Ic5edb7c0977b6c589329cd80616aa320d6cc929b
Signed-off-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | sal/osl/unx/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <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 |