2011-02-11 Ben Golding <ben_golding@yahoo.co.uk>
authorTom Tromey <tromey@redhat.com>
Thu, 3 Nov 2011 15:48:17 +0000 (15:48 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 3 Nov 2011 15:48:17 +0000 (15:48 +0000)
* events.c: add #include <stdlib.h> for free(). Fix PR build/13372.

sim/ppc/ChangeLog
sim/ppc/events.c

index 4b06ba946e7d79aeb3505fbd18d47dfda55c73ac..1771d2f1b99d0a676e184ecf21825240fe7f2458 100644 (file)
@@ -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.
index ca23687844c206912fcf9fc29b7dd010c68a36c0..a2a157263b217fe0c6c362a462a702a7c7db6273 100644 (file)
@@ -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