summaryrefslogtreecommitdiff
path: root/modules/posix_spawn-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-09-18 20:18:38 +0200
committerBruno Haible <bruno@clisp.org>2018-09-18 20:23:21 +0200
commit0edc0a1297a8900a41930108f8fa0904e1cb1e37 (patch)
treea6403cb119d78cc2323b62859e4c3f4a7d102fd6 /modules/posix_spawn-tests
parent0a1ced59e6fb3c3b11c423e51002c57920480b24 (diff)
downloadgnulib-0edc0a1297a8900a41930108f8fa0904e1cb1e37.tar.gz
posix_spawn tests: Fix link error on 64-bit Cygwin.
* tests/test-posix_spawn1.c (environ): Remove declaration. * tests/test-posix_spawn2.c (environ): Likewise. * tests/test-posix_spawn3.c (environ): Likewise. * tests/test-posix_spawn4.c (environ): Likewise. * modules/posix_spawn-tests (Depends-on): Add 'environ'. * modules/posix_spawnp-tests (Depends-on): Likewise.
Diffstat (limited to 'modules/posix_spawn-tests')
-rw-r--r--modules/posix_spawn-tests1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/posix_spawn-tests b/modules/posix_spawn-tests
index 8795206a70..55c4efd790 100644
--- a/modules/posix_spawn-tests
+++ b/modules/posix_spawn-tests
@@ -9,6 +9,7 @@ posix_spawn_file_actions_destroy
stdbool
unistd
sys_wait
+environ
configure.ac:
AC_EGREP_CPP([notposix], [[