From 32a046ab0d7717256f16f59d87438474e825fcb8 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 8 Apr 2021 08:52:50 -0600 Subject: Add system includes in sim This updates various parts of the sim to include missing system headers. I made the includes unconditional, because other parts of the tree are already doing this. 2021-04-08 Tom Tromey * traps.c: Include stdlib.h. * cris-tmpl.c: Include stdlib.h. sim/erc32/ChangeLog 2021-04-08 Tom Tromey * func.c: Include sys/time.h. sim/frv/ChangeLog 2021-04-08 Tom Tromey * traps.c: Include stdlib.h. * registers.c: Include stdlib.h. * profile.c: Include stdlib.h. * memory.c: Include stdlib.h. * interrupts.c: Include stdlib.h. * frv.c: Include stdlib.h. * cache.c: Include stdlib.h. sim/iq2000/ChangeLog 2021-04-08 Tom Tromey * iq2000.c: Include stdlib.h. sim/m32r/ChangeLog 2021-04-08 Tom Tromey * traps.c: Include stdlib.h. * m32r.c: Include stdlib.h. sim/ppc/ChangeLog 2021-04-08 Tom Tromey * emul_unix.c: Include time.h. --- sim/erc32/func.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sim/erc32/func.c') diff --git a/sim/erc32/func.c b/sim/erc32/func.c index 98217f0..c6dfa19 100644 --- a/sim/erc32/func.c +++ b/sim/erc32/func.c @@ -26,6 +26,7 @@ #include #include "sim-config.h" #include +#include #define VAL(x) strtoul(x,(char **)NULL,0) -- cgit v1.1