aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-04-19 18:31:58 +0000
committerAlyssa Ross <hi@alyssa.is>2021-04-19 18:31:58 +0000
commit9ac6534f7c39db34d872520b6341bcaa9b2c4a39 (patch)
tree5bc0ef9e603b4f06752123cccdf6388c46391403 /src/libfetchers
parent76980a1f3daf6d2890f7686bfc8cdf6a8b9e8dae (diff)
Include sys/wait.h everywhere WIFEXITED etc is used
This is required on NetBSD, and I think FreeBSD too.
Diffstat (limited to 'src/libfetchers')
-rw-r--r--src/libfetchers/git.cc1
1 files changed, 1 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;