Skip to content

Commit

Permalink
Merge pull request #1 from Le-Technologue/main
Browse files Browse the repository at this point in the history
More explicit header inclusions for Linux
  • Loading branch information
SimonCROS authored Jan 14, 2022
2 parents 365ed36 + c092498 commit 51c5755
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/exec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <iostream>
#include <array>

#include <sys/wait.h>

#define NUM_PIPES 2
#define PARENT_WRITE_PIPE 0
#define PARENT_READ_PIPE 1
Expand Down
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
#include <random>
#include <numeric>
#include <optional>
#include <algorithm>

#include <langinfo.h>
#include <signal.h>

using namespace std;

Expand Down
2 changes: 2 additions & 0 deletions src/utils.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "complexity.hpp"

#include <stdexcept>

#include <sys/stat.h>

const string &assertExecutable(const string &path) {
Expand Down

0 comments on commit 51c5755

Please sign in to comment.