summaryrefslogtreecommitdiff
path: root/modules/posix_spawnp-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_spawnp-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_spawnp-tests')
-rw-r--r--modules/posix_spawnp-tests3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/posix_spawnp-tests b/modules/posix_spawnp-tests
index 6363585d23..bce8be7777 100644
--- a/modules/posix_spawnp-tests
+++ b/modules/posix_spawnp-tests
@@ -15,11 +15,12 @@ posix_spawnattr_init
posix_spawnattr_setsigmask
posix_spawnattr_setflags
posix_spawnattr_destroy
-sigprocmask
stdbool
unistd
sys_wait
dup
+environ
+sigprocmask
configure.ac:
AC_EGREP_CPP([notposix], [[