Hello,
the real fix would be:
#include "config.h" first thing in *any* c-file and don't include it in
any header file.
I just checked all files and there a lot files which are timebombs, too.
If you're interested I could make a patch ready.
Thomas