summaryrefslogtreecommitdiff
path: root/libiberty/testsuite/test-expandargv.c
diff options
context:
space:
mode:
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 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