Raise _XOPEN_SOURCE from 500 to 700
authorGeorge Koehler <kernigh@gmail.com>
Fri, 22 Mar 2019 18:35:07 +0000 (14:35 -0400)
committerGeorge Koehler <kernigh@gmail.com>
Fri, 22 Mar 2019 18:35:07 +0000 (14:35 -0400)
commit84f65f7ce32eeece9c3a8ecd4df03be1120f0c6b
treeb3b91beaf666148708042255fff8b0d4bbe46aa6
parentcdbff0dd1c5fb3ee139fe2a7195464b34f4c1a97
Raise _XOPEN_SOURCE from 500 to 700

In OpenBSD, _XOPEN_SOURCE 500 forces _POSIX_C_SOURCE down to 199506,
which hides the declarations of openat() and fdopendir() and causes
compiler warnings.

Don't set _POSIX_C_SOURCE, because _XOPEN_SOURCE may set
_POSIX_C_SOURCE to a different value.
plat/cpm/emu/fileio.c