diff options
author | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-27 18:35:20 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-11-08 11:11:41 -0700 |
commit | eec6550343414e9ebf12885533609c1ba9b397f1 (patch) | |
tree | 31e175308facfcda891b514260afa965cea85182 /libiberty/testsuite | |
parent | cb49a9e15e705021a3d9ef9ea114fd893a8f756e (diff) | |
download | gdb-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/testsuite')
-rw-r--r-- | libiberty/testsuite/test-demangle.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 { |