diff options
Diffstat (limited to 'libbacktrace')
-rw-r--r-- | libbacktrace/ChangeLog | 5 | ||||
-rw-r--r-- | libbacktrace/fileline.c | 1 | ||||
-rw-r--r-- | libbacktrace/mmap.c | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index ec3e1b75e8b..277927bc3bc 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,8 @@ +2012-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * fileline.c: Include <stdlib.h>. + * mmap.c: Likewise. + 2012-09-17 Ian Lance Taylor <iant@google.com> PR bootstrap/54611 diff --git a/libbacktrace/fileline.c b/libbacktrace/fileline.c index de2a58993eb..6aeaf40159f 100644 --- a/libbacktrace/fileline.c +++ b/libbacktrace/fileline.c @@ -35,6 +35,7 @@ POSSIBILITY OF SUCH DAMAGE. */ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> +#include <stdlib.h> #include "backtrace.h" #include "internal.h" diff --git a/libbacktrace/mmap.c b/libbacktrace/mmap.c index e8e98617d9a..e07810d4575 100644 --- a/libbacktrace/mmap.c +++ b/libbacktrace/mmap.c @@ -34,6 +34,7 @@ POSSIBILITY OF SUCH DAMAGE. */ #include <errno.h> #include <string.h> +#include <stdlib.h> #include <unistd.h> #include <sys/mman.h> |