summaryrefslogtreecommitdiff
path: root/libiberty/testsuite
diff options
context:
space:
mode:
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-27 18:35:20 +0000
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-27 18:35:20 +0000
commit98e016519e9816330380c69334ab54c6093c5715 (patch)
treed78a094c7dc546ee133149c6a439a8bf42560a35 /libiberty/testsuite
parentd0df489493dee9d48d2234b025dfc13a24ee5535 (diff)
downloadgcc-98e016519e9816330380c69334ab54c6093c5715.tar.gz
* 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/testsuite')
-rw-r--r--libiberty/testsuite/test-demangle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/testsuite/test-demangle.c b/libiberty/testsuite/test-demangle.c
index 11d9729999b..44062478c09 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
{