]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: include stdint.h when needed
authorMike Frysinger <vapier@gentoo.org>
Sun, 5 Dec 2021 02:06:54 +0000 (21:06 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 5 Dec 2021 03:10:02 +0000 (22:10 -0500)
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
sim/common/sim-io.c
sim/common/sim-io.h

index 105488db262f2bd4c1910e88bb8528f4e4f6587a..ed4d51d8d3987b54f8eae15098f64e2d69bb8dcd 100644 (file)
@@ -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>
index a278d6ec127d7e00b0df8bfb17c71923fbb834dd..8c40f7a0e73ea31361f8ca20237e17bb75c61e87 100644 (file)
@@ -27,6 +27,7 @@
 #include <fcntl.h>
 #endif
 #include <stdarg.h>
+#include <stdint.h>
 #include <stdlib.h>
 #if HAVE_UNISTD_H
 #include <unistd.h>
index c88adcde0f7dca34103977f14bd336446a36b176..2fc22f332cccd691a100594ae4c55e089b87e798 100644 (file)
@@ -24,6 +24,7 @@
 #define SIM_IO_H
 
 #include <stdarg.h>
+#include <stdint.h>
 #include <sys/stat.h>
 #include <sys/types.h>