diff options
author | Ian Lance Taylor <iant@google.com> | 2013-03-25 18:13:18 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-03-25 18:13:18 +0000 |
commit | 85d8c21edbcdf3915c6bd0d72429329ef760ff2b (patch) | |
tree | 4aedcc7fecc0bb02ed28b711b28d608418a2953e /libbacktrace | |
parent | 7482c47076c6396485beb2b7953a773faca4b20c (diff) | |
download | gcc-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/ChangeLog | 5 | ||||
-rw-r--r-- | libbacktrace/alloc.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 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" |