From 9c80f001f0d9529f14fbd6f83145c45e9218ad1e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 7 Dec 2023 21:38:56 -0700 Subject: sim: m32r: include more glibc headers for the funcs we use [PR sim/29752] Not exactly portable, but doesn't make the situation worse here, and fixes a lot of implicit function warnings. Bug: https://sourceware.org/PR29752 --- sim/m32r/traps.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sim') diff --git a/sim/m32r/traps.c b/sim/m32r/traps.c index 060b331..80c4360 100644 --- a/sim/m32r/traps.c +++ b/sim/m32r/traps.c @@ -38,9 +38,14 @@ NB: The emulation is also missing argument conversion (endian & bitsize) even on Linux hosts. */ #ifdef __linux__ +#include +#include +#include +#include #include #include #include +#include #include #include #include -- cgit v1.1