summaryrefslogtreecommitdiff
path: root/graphics/blender/patches/patch-intern_cycles_util_util__types.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/blender/patches/patch-intern_cycles_util_util__types.h')
-rw-r--r--graphics/blender/patches/patch-intern_cycles_util_util__types.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/blender/patches/patch-intern_cycles_util_util__types.h b/graphics/blender/patches/patch-intern_cycles_util_util__types.h
new file mode 100644
index 00000000000..f646e549f1b
--- /dev/null
+++ b/graphics/blender/patches/patch-intern_cycles_util_util__types.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-intern_cycles_util_util__types.h,v 1.1 2014/01/10 20:06:46 joerg Exp $
+
+--- intern/cycles/util/util_types.h.orig 2013-11-20 21:10:53.000000000 +0000
++++ intern/cycles/util/util_types.h
+@@ -26,6 +26,9 @@
+ /* Qualifiers for kernel code shared by CPU and GPU */
+
+ #ifndef __KERNEL_GPU__
++#ifdef __cplusplus
++#include <locale>
++#endif
+
+ #define __device static inline
+ #define __device_noinline static