diff options
author | Gerald Pfeifer <gerald@pfeifer.com> | 2013-10-23 21:31:45 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2013-10-23 21:31:45 +0000 |
commit | 89ac07979f017337cef4972670d853c010b0f0da (patch) | |
tree | 316f7320211d3a4ff1769b85d7369933a4736621 /libiberty | |
parent | ecdbd01aa1a1b0eee46236438dd2a3dc57210b13 (diff) | |
download | gcc-89ac07979f017337cef4972670d853c010b0f0da.zip gcc-89ac07979f017337cef4972670d853c010b0f0da.tar.gz gcc-89ac07979f017337cef4972670d853c010b0f0da.tar.bz2 |
* testsuite/test-expandargv.c: Include unistd.h.
From-SVN: r203993
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 4 | ||||
-rw-r--r-- | libiberty/testsuite/test-expandargv.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index dcdb2f6..3a214ef 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 dff20d4..0edd751 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 |