From c092498701a84c01658d38a9cf19fb3293f564b2 Mon Sep 17 00:00:00 2001 From: William Cazorla Date: Fri, 14 Jan 2022 06:36:00 +0100 Subject: [PATCH] More explicit header inclusions for Linux - Without those, the tester wouldn't compile on my Debian testing. --- src/exec.cpp | 2 ++ src/main.cpp | 2 ++ src/utils.cpp | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/exec.cpp b/src/exec.cpp index ea35784..ebe5499 100644 --- a/src/exec.cpp +++ b/src/exec.cpp @@ -4,6 +4,8 @@ #include #include +#include + #define NUM_PIPES 2 #define PARENT_WRITE_PIPE 0 #define PARENT_READ_PIPE 1 diff --git a/src/main.cpp b/src/main.cpp index 90c25b6..c45f444 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,8 +5,10 @@ #include #include #include +#include #include +#include using namespace std; diff --git a/src/utils.cpp b/src/utils.cpp index ce50fda..e32f671 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -1,5 +1,7 @@ #include "complexity.hpp" +#include + #include const string &assertExecutable(const string &path) {