_XOPEN_SOURCE_EXTENDED everywhere
_XOPEN_SOURCE_EXTENDED everywhere