diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-04-20 16:09:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 16:09:30 +0200 |
commit | b60b0d62d6a65ad8051a24cf4d4e6c50d27abf6a (patch) | |
tree | 52322593344c4b176c142d1faeda0a61caf85263 | |
parent | 3cbad4b035939b99683265118d4f01c4b21a7a19 (diff) | |
parent | 9ac6534f7c39db34d872520b6341bcaa9b2c4a39 (diff) |
Merge pull request #4720 from alyssais/wait
Include sys/wait.h everywhere WIFEXITED etc is used
-rw-r--r-- | src/libfetchers/git.cc | 1 | ||||
-rw-r--r-- | src/libstore/build/derivation-goal.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/libfetchers/git.cc b/src/libfetchers/git.cc index b9a240b13..d8e0dbe0a 100644 --- a/src/libfetchers/git.cc +++ b/src/libfetchers/git.cc @@ -6,6 +6,7 @@ #include "url-parts.hh" #include <sys/time.h> +#include <sys/wait.h> using namespace std::string_literals; diff --git a/src/libstore/build/derivation-goal.cc b/src/libstore/build/derivation-goal.cc index 3ce538f77..55ced2215 100644 --- a/src/libstore/build/derivation-goal.cc +++ b/src/libstore/build/derivation-goal.cc @@ -20,6 +20,7 @@ #include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> +#include <sys/wait.h> #include <netdb.h> #include <fcntl.h> #include <termios.h> |