Make sure config.h is included before C library headers otherwise the
later libiberty.h include gets confused about asprintf state leading
to warnings like:
common/sim-utils.c:330:9:
warning: implicit declaration of function 'vasprintf';
did you mean 'xvasprintf'? [-Wimplicit-function-declaration]
+2021-01-11 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-main.h: Include config.h.
+
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
#define WITH_SCACHE_PBB 1
+#include "config.h"
+
#include "ansidecl.h"
#include "or1k-desc.h"
#include "sim-basics.h"