Only define _XOPEN_SOURCE on Linux.
Fixes the build on NetBSD.
The comment says it's only needed on Linux, and AFAIK Linux
is the only operating system that only adds symbols when it's defined;
others, like NetBSD or Solaris, also hide symbols.
Signed-off-by:
Thomas Klausner <wiz@NetBSD.org>
Loading
Please register or sign in to comment