aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-27 18:35:20 +0000
committerTom Tromey <tromey@redhat.com>2013-11-08 11:11:41 -0700
commiteec6550343414e9ebf12885533609c1ba9b397f1 (patch)
tree31e175308facfcda891b514260afa965cea85182 /libiberty
parentcb49a9e15e705021a3d9ef9ea114fd893a8f756e (diff)
downloadgdb-eec6550343414e9ebf12885533609c1ba9b397f1.zip
gdb-eec6550343414e9ebf12885533609c1ba9b397f1.tar.gz
gdb-eec6550343414e9ebf12885533609c1ba9b397f1.tar.bz2
* testsuite/test-demangle.c: Include unistd.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204107 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/testsuite/test-demangle.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 19d2877..f3b7d1f 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2013-10-27 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * testsuite/test-demangle.c: Include unistd.h.
+
2013-10-25 Gary Benson <gbenson@redhat.com>
* cp-demangle.c (struct d_saved_scope): New structure.
diff --git a/libiberty/testsuite/test-demangle.c b/libiberty/testsuite/test-demangle.c
index 11d9729..4406247 100644
--- a/libiberty/testsuite/test-demangle.c
+++ b/libiberty/testsuite/test-demangle.c
@@ -32,6 +32,9 @@
#if HAVE_STDLIB_H
# include <stdlib.h>
#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
struct line
{