aboutsummaryrefslogtreecommitdiff
path: root/sim/igen/table.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/igen/table.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/igen/table.c')
-rw-r--r--sim/igen/table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/igen/table.c b/sim/igen/table.c
index fdca9cb..d5c7068 100644
--- a/sim/igen/table.c
+++ b/sim/igen/table.c
@@ -19,7 +19,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-
+/* This must come before any other includes. */
+#include "gnulib/config.h"
#include <sys/types.h>
#include <sys/stat.h>