diff options
Diffstat (limited to 'sim')
-rw-r--r-- | sim/ppc/ChangeLog | 4 | ||||
-rw-r--r-- | sim/ppc/events.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 4b06ba9..1771d2f 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,7 @@ +2011-02-11 Ben Golding <ben_golding@yahoo.co.uk> + + * events.c: add #include <stdlib.h> for free(). Fix PR build/13372. + 2011-10-17 Mike Frysinger <vapier@gentoo.org> * configure.ac: Change include to common/acinclude.m4. diff --git a/sim/ppc/events.c b/sim/ppc/events.c index ca23687..a2a1572 100644 --- a/sim/ppc/events.c +++ b/sim/ppc/events.c @@ -26,6 +26,7 @@ #include "events.h" #include <signal.h> +#include <stdlib.h> #if !defined (SIM_EVENTS_POLL_RATE) #define SIM_EVENTS_POLL_RATE 0x1000 |