aboutsummaryrefslogtreecommitdiff
path: root/libiberty/testsuite/test-expandargv.c
diff options
context:
space:
mode:
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-23 21:31:45 +0000
committerTom Tromey <tromey@redhat.com>2013-11-08 11:11:40 -0700
commitae6da67e35733eb8be443ae46ca9a24f8037a75d (patch)
treeb053bdddd1ba4fd05b7cafbddb9c4999784fab41 /libiberty/testsuite/test-expandargv.c
parenta903d6ac5a79c1fb390b9b833c891c0544502cfe (diff)
downloadgdb-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/testsuite/test-expandargv.c')
-rw-r--r--libiberty/testsuite/test-expandargv.c3
1 files changed, 3 insertions, 0 deletions
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