[Bf-blender-cvs] [9fb73c42fd6] functions: windows compile fixes - missing includes

Martin Felke noreply at git.blender.org
Mon Jul 29 21:36:49 CEST 2019


Commit: 9fb73c42fd601529f07b48cf63a5a84874ce54de
Author: Martin Felke
Date:   Mon Jul 29 20:28:30 2019 +0200
Branches: functions
https://developer.blender.org/rB9fb73c42fd601529f07b48cf63a5a84874ce54de

windows compile fixes - missing includes

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

M	source/blender/blenlib/BLI_timeit.hpp
M	source/blender/blenlib/BLI_value_or_error.hpp

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

diff --git a/source/blender/blenlib/BLI_timeit.hpp b/source/blender/blenlib/BLI_timeit.hpp
index ae3d5204a41..8c09b679ce0 100644
--- a/source/blender/blenlib/BLI_timeit.hpp
+++ b/source/blender/blenlib/BLI_timeit.hpp
@@ -4,6 +4,7 @@
  * code segments easy.
  */
 
+#include "BLI_sys_types.h"
 #include <chrono>
 #include <iostream>
 
diff --git a/source/blender/blenlib/BLI_value_or_error.hpp b/source/blender/blenlib/BLI_value_or_error.hpp
index 6c276df19d5..4bc50b21d3a 100644
--- a/source/blender/blenlib/BLI_value_or_error.hpp
+++ b/source/blender/blenlib/BLI_value_or_error.hpp
@@ -1,5 +1,6 @@
 #pragma once
 
+#include <string>
 #include "BLI_optional.hpp"
 
 namespace BLI {



More information about the Bf-blender-cvs mailing list