]> Savannah Git Hosting - gnulib.git/commitdiff
execvpe: Make dependency to stdbool explicit.
authorBruno Haible <bruno@clisp.org>
Sat, 26 Dec 2020 16:02:03 +0000 (17:02 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 26 Dec 2020 16:02:03 +0000 (17:02 +0100)
* lib/execvpe.c: Include <stdbool.h>.
* modules/execvpe (Depends-on): Add stdbool.

ChangeLog
lib/execvpe.c
modules/execvpe

index 309b5b81b1accf9035463b2f3e52c05845912cfd..929e550c83d60d315be90bba92ec94a32143fd17 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2020-12-26  Bruno Haible  <bruno@clisp.org>
 
+       execvpe: Make dependency to stdbool explicit.
+       * lib/execvpe.c: Include <stdbool.h>.
+       * modules/execvpe (Depends-on): Add stdbool.
+
        execlp: Add tests.
        * tests/test-execlp-main.c: New file.
        * tests/test-execlp.sh: New file.
index 7bc369d057008eb311b6371140f341bcdbd7af43..11c5fd8d99063c370ce870041c1e2050f52e9af0 100644 (file)
@@ -26,6 +26,7 @@
 #include <unistd.h>
 
 #include <errno.h>
+#include <stdbool.h>
 #include <stdlib.h>
 
 #include "findprog.h"
index 792a2c761fd9cdafaae56c091f8744f968241571..c885cb89317ffcc322d31465d6b3cbcc68f728ce 100644 (file)
@@ -8,6 +8,7 @@ m4/execvpe.m4
 Depends-on:
 unistd
 extensions
+stdbool         [test $HAVE_EXECVPE = 0 || test $REPLACE_EXECVPE = 1]
 findprog-in     [test $HAVE_EXECVPE = 0 || test $REPLACE_EXECVPE = 1]
 execve          [test $HAVE_EXECVPE = 0 || test $REPLACE_EXECVPE = 1]