diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-07 21:38:56 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-07 21:41:27 -0700 |
commit | 9c80f001f0d9529f14fbd6f83145c45e9218ad1e (patch) | |
tree | 26d72ccafc8901194854406f8af76dd1308925c8 | |
parent | 190fcd0d6ce07abc4f6ad08d43a3dedd48b27b3e (diff) | |
download | fsf-binutils-gdb-9c80f001f0d9529f14fbd6f83145c45e9218ad1e.zip fsf-binutils-gdb-9c80f001f0d9529f14fbd6f83145c45e9218ad1e.tar.gz fsf-binutils-gdb-9c80f001f0d9529f14fbd6f83145c45e9218ad1e.tar.bz2 |
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
-rw-r--r-- | sim/m32r/traps.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <syslog.h> +#include <sys/file.h> +#include <sys/fsuid.h> +#include <sys/ioctl.h> #include <sys/mman.h> #include <sys/poll.h> #include <sys/resource.h> +#include <sys/sendfile.h> #include <sys/sysinfo.h> #include <sys/stat.h> #include <sys/time.h> |