* 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 19d28771d022c2c2529aa72fbfc4ede3ae39e9c3..f3b7d1faf19685dfd9610766bcc4a926a25c4d5d 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 11d9729999b80259cb82189012d08bd449e58f5f..44062478c09391eddb672dc85dc0d863b3a3f9d5 100644 (file)
@@ -32,6 +32,9 @@
 #if HAVE_STDLIB_H
 # include <stdlib.h>
 #endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 struct line
 {