diff options
Diffstat (limited to 'src/libstddjb/pathexec_run.c')
-rw-r--r-- | src/libstddjb/pathexec_run.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstddjb/pathexec_run.c b/src/libstddjb/pathexec_run.c index ff3211d..5888ba2 100644 --- a/src/libstddjb/pathexec_run.c +++ b/src/libstddjb/pathexec_run.c @@ -1,13 +1,13 @@ /* ISC license. */ +#include <stdlib.h> #include <skalibs/config.h> -#include <skalibs/env.h> #include <skalibs/posixplz.h> #include <skalibs/djbunix.h> void pathexec_run (char const *file, char const *const *argv, char const *const *envp) { - char const *path = env_get("PATH") ; + char const *path = getenv("PATH") ; if (!path) path = SKALIBS_DEFAULTPATH ; execvep(file, argv, envp, path) ; } |