diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-04-19 18:31:58 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-04-19 18:31:58 +0000 |
commit | 9ac6534f7c39db34d872520b6341bcaa9b2c4a39 (patch) | |
tree | 5bc0ef9e603b4f06752123cccdf6388c46391403 /src/libstore | |
parent | 76980a1f3daf6d2890f7686bfc8cdf6a8b9e8dae (diff) |
Include sys/wait.h everywhere WIFEXITED etc is used
This is required on NetBSD, and I think FreeBSD too.
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build/derivation-goal.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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> |