From 9ac6534f7c39db34d872520b6341bcaa9b2c4a39 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 19 Apr 2021 18:31:58 +0000 Subject: [PATCH] Include sys/wait.h everywhere WIFEXITED etc is used This is required on NetBSD, and I think FreeBSD too. --- src/libfetchers/git.cc | 1 + src/libstore/build/derivation-goal.cc | 1 + 2 files changed, 2 insertions(+) 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 +#include 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 #include #include +#include #include #include #include