From 33bbd5e8dd0d0967da4a86007ef1e8d268367492 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 4 Dec 2021 21:06:54 -0500 Subject: [PATCH] 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. --- sim/common/callback.c | 1 + sim/common/sim-io.c | 1 + sim/common/sim-io.h | 1 + 3 files changed, 3 insertions(+) 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 -- 2.30.2