--- ChangeLog | 4 ++++ desc-cpu.scm | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index ec199bef5d25..ceffe0bf7dde 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2021-05-18 Mike Frysinger <vapier@gentoo.org> + + * desc-cpu.scm: Include stdlib.h. + 2021-02-01 Mike Frysinger <vapier@gentoo.org> * sim-decode.scm (TRACE_EXTRACT): Rename to ... diff --git a/desc-cpu.scm b/desc-cpu.scm index 34f5d5cb31c9..6fc9446fd951 100644 --- a/desc-cpu.scm +++ b/desc-cpu.scm @@ -1041,6 +1041,7 @@ extern \"C\" { #include \"sysdep.h\" #include <stdio.h> #include <stdarg.h> +#include <stdlib.h> #include \"ansidecl.h\" #include \"bfd.h\" #include \"symcat.h\" -- 2.31.1
[-- Attachment #1: Type: text/plain, Size: 878 bytes --] ping ... On 18 May 2021 22:01, Mike Frysinger via Cgen wrote: > --- > ChangeLog | 4 ++++ > desc-cpu.scm | 1 + > 2 files changed, 5 insertions(+) > > diff --git a/ChangeLog b/ChangeLog > index ec199bef5d25..ceffe0bf7dde 100644 > --- a/ChangeLog > +++ b/ChangeLog > @@ -1,3 +1,7 @@ > +2021-05-18 Mike Frysinger <vapier@gentoo.org> > + > + * desc-cpu.scm: Include stdlib.h. > + > 2021-02-01 Mike Frysinger <vapier@gentoo.org> > > * sim-decode.scm (TRACE_EXTRACT): Rename to ... > diff --git a/desc-cpu.scm b/desc-cpu.scm > index 34f5d5cb31c9..6fc9446fd951 100644 > --- a/desc-cpu.scm > +++ b/desc-cpu.scm > @@ -1041,6 +1041,7 @@ extern \"C\" { > #include \"sysdep.h\" > #include <stdio.h> > #include <stdarg.h> > +#include <stdlib.h> > #include \"ansidecl.h\" > #include \"bfd.h\" > #include \"symcat.h\" > -- > 2.31.1 > [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --]
> ping ... LGTM > > On 18 May 2021 22:01, Mike Frysinger via Cgen wrote: >> --- >> ChangeLog | 4 ++++ >> desc-cpu.scm | 1 + >> 2 files changed, 5 insertions(+) >> >> diff --git a/ChangeLog b/ChangeLog >> index ec199bef5d25..ceffe0bf7dde 100644 >> --- a/ChangeLog >> +++ b/ChangeLog >> @@ -1,3 +1,7 @@ >> +2021-05-18 Mike Frysinger <vapier@gentoo.org> >> + >> + * desc-cpu.scm: Include stdlib.h. >> + >> 2021-02-01 Mike Frysinger <vapier@gentoo.org> >> >> * sim-decode.scm (TRACE_EXTRACT): Rename to ... >> diff --git a/desc-cpu.scm b/desc-cpu.scm >> index 34f5d5cb31c9..6fc9446fd951 100644 >> --- a/desc-cpu.scm >> +++ b/desc-cpu.scm >> @@ -1041,6 +1041,7 @@ extern \"C\" { >> #include \"sysdep.h\" >> #include <stdio.h> >> #include <stdarg.h> >> +#include <stdlib.h> >> #include \"ansidecl.h\" >> #include \"bfd.h\" >> #include \"symcat.h\" >> -- >> 2.31.1 >>