* testsuite/test-expandargv.c: Include unistd.h.
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Oct 2013 21:31:45 +0000 (21:31 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 8 Nov 2013 18:11:40 +0000 (11:11 -0700)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203993 138bc75d-0d04-0410-961f-82ee72b054a4

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

index dcdb2f6..3a214ef 100644 (file)
@@ -1,3 +1,7 @@
+2013-10-23  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * testsuite/test-expandargv.c: Include unistd.h.
+
 2013-10-15  David Malcolm  <dmalcolm@redhat.com>
 
        * configure.ac: If --enable-host-shared, use -fPIC.
index dff20d4..0edd751 100644 (file)
@@ -40,6 +40,9 @@
 #ifdef HAVE_STRING_H
 #include <string.h>
 #endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
 
 #ifndef EXIT_SUCCESS
 #define EXIT_SUCCESS 0