summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2015-09-08 23:58:09 +0000
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>2015-09-08 23:58:09 +0000
commit576ea143841aebe3f682e77eb8d6f58fe3873c11 (patch)
treec693d666647469f2265a51bd607425ba5fa2997c
parentfa4dba85a6100b242df3b2b64d09e06a2bdba4a2 (diff)
downloadgcc-576ea143841aebe3f682e77eb8d6f58fe3873c11.tar.gz
* backtrace.c: #include <sys/types.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227568 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libbacktrace/ChangeLog4
-rw-r--r--libbacktrace/backtrace.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog
index fb7e8b0aa79..301fac1295e 100644
--- a/libbacktrace/ChangeLog
+++ b/libbacktrace/ChangeLog
@@ -1,3 +1,7 @@
+2015-09-09 Hans-Peter Nilsson <hp@axis.com>
+
+ * backtrace.c: #include <sys/types.h>.
+
2015-09-08 Ian Lance Taylor <iant@google.com>
PR other/67457
diff --git a/libbacktrace/backtrace.c b/libbacktrace/backtrace.c
index d675e1e1062..19671fa0686 100644
--- a/libbacktrace/backtrace.c
+++ b/libbacktrace/backtrace.c
@@ -32,6 +32,8 @@ POSSIBILITY OF SUCH DAMAGE. */
#include "config.h"
+#include <sys/types.h>
+
#include "unwind.h"
#include "backtrace.h"
#include "internal.h"