* 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 dcdb2f6f81f71c9d38172381400e5d468767e28c..3a214efb14c9e53986f6a1cbe4bb9057a9b6abad 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 dff20d41daff414f0d125f1f814bca0eed3b9ed9..0edd751722be1aaf2e7f6d670738b6313966b150 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