Paul Eggert wrote: > This works > around bugs in packages that mistakenly include <config.h> after > including <assert.h> (typically due to double-inclusion of > <config.h>).
Formally, I don't think it's a bug to include <config.h> twice in the same compilation unit. We have documented [1] that it needs to included first, but not that it shouldn't be included twice. (The effects from including it twice are usually minor: just a couple of warnings.) Bruno [1] https://www.gnu.org/software/gnulib/manual/html_node/Source-changes.html