summaryrefslogtreecommitdiff
path: root/libbacktrace
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2013-03-25 18:13:18 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2013-03-25 18:13:18 +0000
commit85d8c21edbcdf3915c6bd0d72429329ef760ff2b (patch)
tree4aedcc7fecc0bb02ed28b711b28d608418a2953e /libbacktrace
parent7482c47076c6396485beb2b7953a773faca4b20c (diff)
downloadgcc-85d8c21edbcdf3915c6bd0d72429329ef760ff2b.tar.gz
alloc.c: #include <sys/types.h>.
* alloc.c: #include <sys/types.h>. * mmap.c: Likewise. From-SVN: r197057
Diffstat (limited to 'libbacktrace')
-rw-r--r--libbacktrace/ChangeLog5
-rw-r--r--libbacktrace/alloc.c1
-rw-r--r--libbacktrace/mmap.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog
index 07e83864dab..2fd4e8a3e63 100644
--- a/libbacktrace/ChangeLog
+++ b/libbacktrace/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-25 Ian Lance Taylor <iant@google.com>
+
+ * alloc.c: #include <sys/types.h>.
+ * mmap.c: Likewise.
+
2013-01-31 Ian Lance Taylor <iant@google.com>
* dwarf.c (read_function_info): Permit fvec parameter to be NULL.
diff --git a/libbacktrace/alloc.c b/libbacktrace/alloc.c
index cb6f07b8ee9..d0796737786 100644
--- a/libbacktrace/alloc.c
+++ b/libbacktrace/alloc.c
@@ -34,6 +34,7 @@ POSSIBILITY OF SUCH DAMAGE. */
#include <errno.h>
#include <stdlib.h>
+#include <sys/types.h>
#include "backtrace.h"
#include "internal.h"
diff --git a/libbacktrace/mmap.c b/libbacktrace/mmap.c
index 81389df223e..04aae85e586 100644
--- a/libbacktrace/mmap.c
+++ b/libbacktrace/mmap.c
@@ -36,6 +36,7 @@ POSSIBILITY OF SUCH DAMAGE. */
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
+#include <sys/types.h>
#include <sys/mman.h>
#include "backtrace.h"