From eec6550343414e9ebf12885533609c1ba9b397f1 Mon Sep 17 00:00:00 2001 From: gerald Date: Sun, 27 Oct 2013 18:35:20 +0000 Subject: [PATCH] * testsuite/test-demangle.c: Include unistd.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204107 138bc75d-0d04-0410-961f-82ee72b054a4 --- libiberty/ChangeLog | 4 ++++ libiberty/testsuite/test-demangle.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 19d28771d02..f3b7d1faf19 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2013-10-27 Gerald Pfeifer + + * testsuite/test-demangle.c: Include unistd.h. + 2013-10-25 Gary Benson * cp-demangle.c (struct d_saved_scope): New structure. 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 #endif +#ifdef HAVE_UNISTD_H +#include +#endif struct line { -- 2.30.2