diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-12-04 21:06:54 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-12-04 22:10:02 -0500 |
commit | 33bbd5e8dd0d0967da4a86007ef1e8d268367492 (patch) | |
tree | 502699c53d3c24ecd17d812b9defafd0d0d54f9d /sim | |
parent | 2c29882f833f634d776b19fa15a1f1bad70bf447 (diff) | |
download | gdb-33bbd5e8dd0d0967da4a86007ef1e8d268367492.zip gdb-33bbd5e8dd0d0967da4a86007ef1e8d268367492.tar.gz gdb-33bbd5e8dd0d0967da4a86007ef1e8d268367492.tar.bz2 |
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.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/common/callback.c | 1 | ||||
-rw-r--r-- | sim/common/sim-io.c | 1 | ||||
-rw-r--r-- | sim/common/sim-io.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/sim/common/callback.c b/sim/common/callback.c index 105488d..ed4d51d 100644 --- a/sim/common/callback.c +++ b/sim/common/callback.c @@ -29,6 +29,7 @@ #include <limits.h> #include <signal.h> #include <stdarg.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/sim/common/sim-io.c b/sim/common/sim-io.c index a278d6e..8c40f7a 100644 --- a/sim/common/sim-io.c +++ b/sim/common/sim-io.c @@ -27,6 +27,7 @@ #include <fcntl.h> #endif #include <stdarg.h> +#include <stdint.h> #include <stdlib.h> #if HAVE_UNISTD_H #include <unistd.h> diff --git a/sim/common/sim-io.h b/sim/common/sim-io.h index c88adcd..2fc22f3 100644 --- a/sim/common/sim-io.h +++ b/sim/common/sim-io.h @@ -24,6 +24,7 @@ #define SIM_IO_H #include <stdarg.h> +#include <stdint.h> #include <sys/stat.h> #include <sys/types.h> |