[Bf-blender-cvs] [e8d1d1486e3] master: Fix T103960: build issue with GCC 13 in Cycles thread code

Brecht Van Lommel noreply at git.blender.org
Wed Jan 18 16:44:18 CET 2023


Commit: e8d1d1486e3d9d8495af4c0903d6eb3e24a92094
Author: Brecht Van Lommel
Date:   Wed Jan 18 13:42:55 2023 +0100
Branches: master
https://developer.blender.org/rBe8d1d1486e3d9d8495af4c0903d6eb3e24a92094

Fix T103960: build issue with GCC 13 in Cycles thread code

===================================================================

M	intern/cycles/util/thread.cpp

===================================================================

diff --git a/intern/cycles/util/thread.cpp b/intern/cycles/util/thread.cpp
index f4949aa2b44..7f1e8eb4159 100644
--- a/intern/cycles/util/thread.cpp
+++ b/intern/cycles/util/thread.cpp
@@ -6,6 +6,8 @@
 #include "util/system.h"
 #include "util/windows.h"
 
+#include <system_error>
+
 CCL_NAMESPACE_BEGIN
 
 thread::thread(function<void()> run_cb) : run_cb_(run_cb), joined_(false)



More information about the Bf-blender-cvs mailing list