godot/thirdparty/embree/patches/0006-explicit-includes.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
748 B
Diff
Raw Normal View History

diff --git a/thirdparty/embree/common/sys/vector.h b/thirdparty/embree/common/sys/vector.h
index 2d30d6725b..a8138de832 100644
--- a/thirdparty/embree/common/sys/vector.h
+++ b/thirdparty/embree/common/sys/vector.h
@@ -5,6 +5,7 @@
#include "alloc.h"
#include <algorithm>
+#include <type_traits>
namespace embree
{
diff --git a/thirdparty/embree/common/tasking/taskschedulerinternal.h b/thirdparty/embree/common/tasking/taskschedulerinternal.h
index d4e0c7386b..99e47608d6 100644
--- a/thirdparty/embree/common/tasking/taskschedulerinternal.h
+++ b/thirdparty/embree/common/tasking/taskschedulerinternal.h
@@ -14,6 +14,7 @@
#include "../sys/atomic.h"
#include "../math/range.h"
+#include <exception>
#include <list>
namespace embree