Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Added some headers to fix build on some gcc versions

Commit
9d1259273f76bea516af0fa3fad26ab7600d33fa
Author
Phil Nash ·
Parents
cf7b6881c9ab

Files · Download .tar.gz

Changes

 catch_runner.hpp              | 1 +
 internal/catch_generators.hpp | 2 ++
 internal/catch_hub.h          | 5 +++--
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/catch_runner.hpp b/catch_runner.hpp
index 03e183c5..22f08637 100644
--- a/catch_runner.hpp
+++ b/catch_runner.hpp
@@ -22,6 +22,7 @@
 #include "catch_reporter_junit.hpp"
 
 #include <fstream>
+#include <stdlib.h>
 
 namespace Catch
 {
diff --git a/internal/catch_generators.hpp b/internal/catch_generators.hpp
index a6167a4e..ccb6b6d4 100644
--- a/internal/catch_generators.hpp
+++ b/internal/catch_generators.hpp
@@ -15,8 +15,10 @@
 
 #include "catch_hub.h"
 
+#include <iterator>
 #include <vector>
 #include <string>
+#include <stdlib.h>
 
 namespace Catch
 {
diff --git a/internal/catch_hub.h b/internal/catch_hub.h
index 374b245b..08983003 100644
--- a/internal/catch_hub.h
+++ b/internal/catch_hub.h
@@ -12,10 +12,11 @@
 #ifndef TWOBLUECUBES_CATCH_HUB_H_INCLUDED
 #define TWOBLUECUBES_CATCH_HUB_H_INCLUDED
 
+#include "catch_interfaces_reporter.h"
+
 #include <memory>
 #include <vector>
-
-#include "catch_interfaces_reporter.h"
+#include <stdlib.h>
 
 namespace Catch
 {