From: Mike Frysinger Date: Sun, 5 Dec 2021 02:06:54 +0000 (-0500) Subject: sim: include stdint.h when needed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33bbd5e8dd0d0967da4a86007ef1e8d268367492;p=binutils-gdb.git sim: include stdint.h when needed Avoid implicit include deps with this to help untangle sim headers so we can get rid of arch-specific sim-main.h. --- diff --git a/sim/common/callback.c b/sim/common/callback.c index 105488db262..ed4d51d8d39 100644 --- a/sim/common/callback.c +++ b/sim/common/callback.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include diff --git a/sim/common/sim-io.c b/sim/common/sim-io.c index a278d6ec127..8c40f7a0e73 100644 --- a/sim/common/sim-io.c +++ b/sim/common/sim-io.c @@ -27,6 +27,7 @@ #include #endif #include +#include #include #if HAVE_UNISTD_H #include diff --git a/sim/common/sim-io.h b/sim/common/sim-io.h index c88adcde0f7..2fc22f332cc 100644 --- a/sim/common/sim-io.h +++ b/sim/common/sim-io.h @@ -24,6 +24,7 @@ #define SIM_IO_H #include +#include #include #include