From bcb3808ca8e0a6ee69ecebe649203db7a4326c96 Mon Sep 17 00:00:00 2001 From: clfreville2 Date: Fri, 24 Nov 2023 21:41:45 +0100 Subject: [PATCH] Use sys/wait.h for portability --- src/main.cpp | 2 +- src/runner.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index d165ff2..355b23c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7,7 +7,7 @@ #include #include #include -#include +#include #include "config.hpp" #include "zmq_addon.hpp" diff --git a/src/runner.cpp b/src/runner.cpp index 4a57223..f8c871d 100644 --- a/src/runner.cpp +++ b/src/runner.cpp @@ -9,7 +9,7 @@ #include #include #include -#include +#include // Define a helper to throw a system error if a syscall fails static auto ensure = [](int res) -> void {