Commit 256b1918 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Repeat execvpe(3) prototype (fup to 7bad9d7d)

This is needed in case `<unistd.h>` was included before "execvpe.h"
w/o `_GNU_SOURCE` set (on Glibc systems)
parent 7bad9d7d
......@@ -16,6 +16,8 @@ __hsunix_execvpe(const char *name, char *const argv[], char *const envp[]);
#if HAVE_EXECVPE
# define _GNU_SOURCE
# include <unistd.h>
extern int
execvpe(const char *name, char *const argv[], char *const envp[]);
#else
# define execvpe(name,argv,envp) __hsunix_execvpe(name,argv,envp)
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment