https://bugs.exim.org/show_bug.cgi?id=2009
Bug ID: 2009 Summary: sljitProtExecAllocator defines _XOPEN_SOURCE too late Product: PCRE Version: N/A Hardware: All OS: All Status: NEW Severity: bug Priority: medium Component: Code Assignee: p...@hermes.cam.ac.uk Reporter: c...@gnome.org CC: pcre-dev@exim.org sljitProtExecAllocator.c has #ifndef _XOPEN_SOURCE #define _XOPEN_SOURCE 500 /* for mkstemp() and truncate() */ #endif However, when these lines are reached, some libc header(s) have already been included, which is too late. This needs to be defined before the first libc header is included. -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev