Include sys/wait.h everywhere WIFEXITED etc is used

This is required on NetBSD, and I think FreeBSD too.
This commit is contained in:
Alyssa Ross 2021-04-19 18:31:58 +00:00
parent 76980a1f3d
commit 9ac6534f7c
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@
#include "url-parts.hh"
#include <sys/time.h>
#include <sys/wait.h>
using namespace std::string_literals;

View file

@ -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>