[Bf-blender-cvs] [d104c77af8d] master: Fix Cycles compiler warnings after recent commit

Brecht Van Lommel noreply at git.blender.org
Wed Feb 12 14:29:30 CET 2020


Commit: d104c77af8d5e511a25fbbb5ece73da616b57c1a
Author: Brecht Van Lommel
Date:   Wed Feb 12 14:28:29 2020 +0100
Branches: master
https://developer.blender.org/rBd104c77af8d5e511a25fbbb5ece73da616b57c1a

Fix Cycles compiler warnings after recent commit

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

M	intern/cycles/device/device_cuda.cpp
M	intern/cycles/device/device_opencl.cpp

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

diff --git a/intern/cycles/device/device_cuda.cpp b/intern/cycles/device/device_cuda.cpp
index a0bcc5dadc3..5f991563738 100644
--- a/intern/cycles/device/device_cuda.cpp
+++ b/intern/cycles/device/device_cuda.cpp
@@ -16,6 +16,8 @@
 
 #ifdef WITH_CUDA
 
+#  include "device/device.h"
+#  include "device/device_intern.h"
 #  include "device/cuda/device_cuda.h"
 
 #  include "util/util_logging.h"
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index 83f3598df3c..ccfc53d5a21 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -16,6 +16,8 @@
 
 #ifdef WITH_OPENCL
 
+#  include "device/device.h"
+#  include "device/device_intern.h"
 #  include "device/opencl/device_opencl.h"
 
 #  include "util/util_foreach.h"



More information about the Bf-blender-cvs mailing list