aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v/gencode.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-10-15 22:58:56 +0545
committerMike Frysinger <vapier@gentoo.org>2024-01-01 18:23:28 -0500
commit024a2b53b5128d5f7fcaea0779b1643c062fe3a4 (patch)
tree1b54575c11186a80e53b505a7e24595a2c31f95e /sim/d10v/gencode.c
parentbf53e171b5d03e0fc3d84965b73836201ddc35e4 (diff)
downloadbinutils-users/vapier/sim/gnulib-build.zip
binutils-users/vapier/sim/gnulib-build.tar.gz
binutils-users/vapier/sim/gnulib-build.tar.bz2
sim: use build-gnulib with build-time tools [PR sim/30882]users/vapier/sim/gnulib-build
Some of our build-time tools are fairly complicated and require some POSIX APIs that the build system doesn't provide. Leverage the new build-gnulib tree to provide fallback implementations automatically.
Diffstat (limited to 'sim/d10v/gencode.c')
-rw-r--r--sim/d10v/gencode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/d10v/gencode.c b/sim/d10v/gencode.c
index 3a37bac..42d655d 100644
--- a/sim/d10v/gencode.c
+++ b/sim/d10v/gencode.c
@@ -1,3 +1,6 @@
+/* This must come before any other includes. */
+#include "gnulib/config.h"
+
#include <stdio.h>
#include <ctype.h>
#include <limits.h>