* testsuite/test-demangle.c: Include unistd.h.
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 27 Oct 2013 18:35:20 +0000 (18:35 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 8 Nov 2013 18:11:41 +0000 (11:11 -0700)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204107 138bc75d-0d04-0410-961f-82ee72b054a4

libiberty/ChangeLog
libiberty/testsuite/test-demangle.c

index 19d2877..f3b7d1f 100644 (file)
@@ -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.
index 11d9729..4406247 100644 (file)
@@ -32,6 +32,9 @@
 #if HAVE_STDLIB_H
 # include <stdlib.h>
 #endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 struct line
 {