diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-12-06 21:11:59 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-12-06 21:11:59 +0100 |
commit | 7bad9d7d52d24cc4246646e5af3116c2dd8c25c4 (patch) | |
tree | b4ce832b2b67b5cc4fd2d866dc8221e828dc8165 /cbits | |
parent | 078666f4399f368e2f3dd82b5081dc1ad9b9fdc2 (diff) |
Have "execvpe.h" provide execvpe() again
Turns out `process` reuses `unix`'s execvpe() implementation,
and the refactoring in f24ba78f68b2cbc4f4afadc8dd60fc2935357255
broke process.
Diffstat (limited to 'cbits')
-rw-r--r-- | cbits/execvpe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cbits/execvpe.c b/cbits/execvpe.c index b4f9472..9599836 100644 --- a/cbits/execvpe.c +++ b/cbits/execvpe.c @@ -8,12 +8,13 @@ execvpe(3) is available, we use that instead. -------------------------------------------------------------------------- */ -#include "execvpe.h" -#include "HsUnixConfig.h" +#include "execvpe.h" #if HAVE_EXECVPE # define _GNU_SOURCE +#else +# undef execvpe #endif #include <errno.h> |