diff options
author | gerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-23 21:31:45 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-11-08 11:11:40 -0700 |
commit | ae6da67e35733eb8be443ae46ca9a24f8037a75d (patch) | |
tree | b053bdddd1ba4fd05b7cafbddb9c4999784fab41 /libiberty | |
parent | a903d6ac5a79c1fb390b9b833c891c0544502cfe (diff) | |
download | gdb-ae6da67e35733eb8be443ae46ca9a24f8037a75d.zip gdb-ae6da67e35733eb8be443ae46ca9a24f8037a75d.tar.gz gdb-ae6da67e35733eb8be443ae46ca9a24f8037a75d.tar.bz2 |
* testsuite/test-expandargv.c: Include unistd.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203993 138bc75d-0d04-0410-961f-82ee72b054a4
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 |