diff options
Diffstat (limited to 'pathexec_run.c')
-rw-r--r-- | pathexec_run.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pathexec_run.c b/pathexec_run.c index 1770ac7..51f13ea 100644 --- a/pathexec_run.c +++ b/pathexec_run.c | |||
@@ -1,5 +1,6 @@ | |||
1 | /* Public domain. */ | 1 | /* Public domain. */ |
2 | 2 | ||
3 | #include <unistd.h> | ||
3 | #include "error.h" | 4 | #include "error.h" |
4 | #include "stralloc.h" | 5 | #include "stralloc.h" |
5 | #include "str.h" | 6 | #include "str.h" |
@@ -8,7 +9,7 @@ | |||
8 | 9 | ||
9 | static stralloc tmp; | 10 | static stralloc tmp; |
10 | 11 | ||
11 | void pathexec_run(const char *file,const char * const *argv,const char * const *envp) | 12 | void pathexec_run(const char *file, char *const *argv, char *const *envp) |
12 | { | 13 | { |
13 | const char *path; | 14 | const char *path; |
14 | unsigned int split; | 15 | unsigned int split; |