diff options
Diffstat (limited to 'posix/tst-execvp2.c')
-rw-r--r-- | posix/tst-execvp2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/posix/tst-execvp2.c b/posix/tst-execvp2.c index 7e0f5d882c..440dfab438 100644 --- a/posix/tst-execvp2.c +++ b/posix/tst-execvp2.c @@ -14,6 +14,9 @@ static int do_test (void); #define TEST_FUNCTION do_test () #include "../test-skeleton.c" +#ifndef EXECVP +# define EXECVP(file, argv) execvp (file, argv) +#endif static char *copy; @@ -70,7 +73,7 @@ do_test (void) char *argv[] = { basename (copy), NULL }; errno = 0; - execvp (argv[0], argv); + EXECVP (argv[0], argv); if (errno != EACCES) { |