16:47 <@q66> e.g. fdopen needs to be behind
16:47 <@q66> #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
16:47 <@q66> || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \
16:47 <@q66> || defined(_BSD_SOURCE)
16:47 <@q66> but that's for a separate PR
16:48 <@q66> same with fmemopen etc