aboutsummaryrefslogtreecommitdiff
path: root/sim/igen/igen.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/igen.c
parentbf53e171b5d03e0fc3d84965b73836201ddc35e4 (diff)
downloadgdb-024a2b53b5128d5f7fcaea0779b1643c062fe3a4.zip
gdb-024a2b53b5128d5f7fcaea0779b1643c062fe3a4.tar.gz
gdb-024a2b53b5128d5f7fcaea0779b1643c062fe3a4.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/igen.c')
-rw-r--r--sim/igen/igen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/igen/igen.c b/sim/igen/igen.c
index b9919a9..eaf69b9 100644
--- a/sim/igen/igen.c
+++ b/sim/igen/igen.c
@@ -19,6 +19,9 @@
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 <getopt.h>
#include <stdlib.h>