Use sys/wait.h for portability
continuous-integration/drone/push Build is passing Details

pull/4/head
Clément FRÉVILLE 2 years ago
parent 1126133fd3
commit bcb3808ca8

@ -7,7 +7,7 @@
#include <spawn.h>
#include <toml++/toml.h>
#include <unistd.h>
#include <wait.h>
#include <sys/wait.h>
#include "config.hpp"
#include "zmq_addon.hpp"

@ -9,7 +9,7 @@
#include <sys/timerfd.h>
#include <system_error>
#include <unistd.h>
#include <wait.h>
#include <sys/wait.h>
// Define a helper to throw a system error if a syscall fails
static auto ensure = [](int res) -> void {

Loading…
Cancel
Save