Fix libbacktrace bootstrap with gcc 4.4

* fileline.c: Include <stdlib.h>.
	* mmap.c: Likewise.

From-SVN: r191414
This commit is contained in:
Rainer Orth 2012-09-18 09:02:50 +00:00 committed by Rainer Orth
parent ed770de906
commit c0558468b8
3 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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"

View File

@ -34,6 +34,7 @@ POSSIBILITY OF SUCH DAMAGE. */
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>