Cycles: Fix compilation error with certain CUDA and host compiler configuration
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 7 Apr 2017 16:27:07 +0000 (18:27 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 7 Apr 2017 16:28:38 +0000 (18:28 +0200)
This seems to happen on Windows only, happened to Thomas and Nathan already.

Similar patch Thomas was showing, but i do not see it committted. So comitting
now in order to get more developers and users happy.

intern/cycles/kernel/kernel_compat_cuda.h

index 39e98c7dda61739e8c9ad260dfb498ada12796a9..a6b44acc80955ceca79fa99b9898ee8f53cf1b17 100644 (file)
@@ -33,6 +33,7 @@
 #include <cuda.h>
 #include <cuda_fp16.h>
 #include <float.h>
+#include <cstdint>
 
 /* Qualifier wrappers for different names on different devices */