summaryrefslogtreecommitdiff
path: root/libbacktrace
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-19 07:43:09 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-19 07:43:09 +0000
commit8aae250d6e924f3c398f3ffe73c5ffd3fccf1683 (patch)
tree9935ff8f39adae504005f9c3045f87123d5b1120 /libbacktrace
parentfc54aba7e5c6f93cf07f5fdc25581ce99e5239ae (diff)
downloadgcc-8aae250d6e924f3c398f3ffe73c5ffd3fccf1683.tar.gz
* atomic.c: Include sys/types.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205008 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libbacktrace')
-rw-r--r--libbacktrace/ChangeLog4
-rw-r--r--libbacktrace/atomic.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog
index 134d9a71752..97abf7a3d9b 100644
--- a/libbacktrace/ChangeLog
+++ b/libbacktrace/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-19 Jakub Jelinek <jakub@redhat.com>
+
+ * atomic.c: Include sys/types.h.
+
2013-11-18 Ian Lance Taylor <iant@google.com>
* configure.ac: Check for support of __atomic extensions.
diff --git a/libbacktrace/atomic.c b/libbacktrace/atomic.c
index 44fa5521ad4..10418abadaa 100644
--- a/libbacktrace/atomic.c
+++ b/libbacktrace/atomic.c
@@ -32,6 +32,8 @@ POSSIBILITY OF SUCH DAMAGE. */
#include "config.h"
+#include <sys/types.h>
+
#include "backtrace.h"
#include "backtrace-supported.h"
#include "internal.h"