https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67363
--- Comment #3 from Eric Gallager <egall at gwmail dot gwu.edu> --- Or actually, an even simpler solution to the strndup part of the bug would be to just use xstrndup instead of strndup; then there's no worrying about which header to add a declaration to, or anything related to that...