Commit c0558468 by Rainer Orth Committed by Rainer Orth

Fix libbacktrace bootstrap with gcc 4.4

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

From-SVN: r191414
parent ed770de9
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> 2012-09-17 Ian Lance Taylor <iant@google.com>
PR bootstrap/54611 PR bootstrap/54611
......
...@@ -35,6 +35,7 @@ POSSIBILITY OF SUCH DAMAGE. */ ...@@ -35,6 +35,7 @@ POSSIBILITY OF SUCH DAMAGE. */
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <stdlib.h>
#include "backtrace.h" #include "backtrace.h"
#include "internal.h" #include "internal.h"
......
...@@ -34,6 +34,7 @@ POSSIBILITY OF SUCH DAMAGE. */ ...@@ -34,6 +34,7 @@ POSSIBILITY OF SUCH DAMAGE. */
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <sys/mman.h> #include <sys/mman.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment