[Bf-blender-cvs] [5acac13eb4] master: Cycles: Fix compilation error on vanilla Ubuntu 16.10

Sergey Sharybin noreply at git.blender.org
Mon Feb 27 15:23:35 CET 2017


Commit: 5acac13eb4a2432f78439705b9e59cc97938fd6b
Author: Sergey Sharybin
Date:   Mon Feb 27 15:22:51 2017 +0100
Branches: master
https://developer.blender.org/rB5acac13eb4a2432f78439705b9e59cc97938fd6b

Cycles: Fix compilation error on vanilla Ubuntu 16.10

Patch by @swerner, thanks!

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

M	intern/cycles/device/device_cuda.cpp

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

diff --git a/intern/cycles/device/device_cuda.cpp b/intern/cycles/device/device_cuda.cpp
index dafac6dfcb..5e87f9ec89 100644
--- a/intern/cycles/device/device_cuda.cpp
+++ b/intern/cycles/device/device_cuda.cpp
@@ -15,6 +15,7 @@
  */
 
 #include <climits>
+#include <limits.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>




More information about the Bf-blender-cvs mailing list