<div dir="ltr">Hi,<div><br></div><div>As noted in PR25118, people who include libc++'s headers via a -I path with -pedantic_errors will see errors due to the use of #include_next. This patch moves the #include_next after the #pragma system_header line to suppress the error.</div><div><br></div><div>(For the __need_* case in <stddef.h>, I'm not checking whether pragma system_header is available: these macros should only be defined for systems where the pragma is available, and it doesn't seem like a good idea to include <__config> in this case.)</div></div>