aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@pfeifer.com>2013-10-23 21:31:45 +0000
committerGerald Pfeifer <gerald@pfeifer.com>2013-10-23 21:31:45 +0000
commitaba108aa1e2c5dca57c7bae9457d0f9c6a71deed (patch)
tree316f7320211d3a4ff1769b85d7369933a4736621 /libiberty
parenta1f536720160ab4647b7ba6c81931f34a230ba62 (diff)
* testsuite/test-expandargv.c: Include unistd.h.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@203993 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/testsuite/test-expandargv.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index dcdb2f6f81f..3a214efb14c 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -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.
diff --git a/libiberty/testsuite/test-expandargv.c b/libiberty/testsuite/test-expandargv.c
index dff20d41daf..0edd751722b 100644
--- a/libiberty/testsuite/test-expandargv.c
+++ b/libiberty/testsuite/test-expandargv.c
@@ -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