Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/cycles/util/types.h')
-rw-r--r--intern/cycles/util/types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/util/types.h b/intern/cycles/util/types.h
index 697dc2b44ea..58a6d134819 100644
--- a/intern/cycles/util/types.h
+++ b/intern/cycles/util/types.h
@@ -17,7 +17,9 @@
#ifndef __UTIL_TYPES_H__
#define __UTIL_TYPES_H__
-#include <stdlib.h>
+#if !defined(__KERNEL_METAL__)
+# include <stdlib.h>
+#endif
/* Standard Integer Types */