summaryrefslogtreecommitdiff
path: root/sc/source/core/opencl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-06-17 19:16:28 +0300
committerTor Lillqvist <tml@iki.fi>2013-06-28 10:55:56 +0300
commitc38a9b9041337dfdeeb684a3a739b0d203eb4e96 (patch)
tree9577477210b56c878639faac010374c9b8d0f899 /sc/source/core/opencl
parent015e1b84446077df9c226cf87c19bef056dcf3b7 (diff)
Apple has the header in a different path
Change-Id: Ieae4ac97c8938a6c0a7fa33438669200763c818f
Diffstat (limited to 'sc/source/core/opencl')
-rw-r--r--sc/source/core/opencl/openclwrapper.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/core/opencl/openclwrapper.hxx b/sc/source/core/opencl/openclwrapper.hxx
index 62006d116a3b..b9d22555cb76 100644
--- a/sc/source/core/opencl/openclwrapper.hxx
+++ b/sc/source/core/opencl/openclwrapper.hxx
@@ -12,7 +12,11 @@
#include <config_features.h>
+#ifdef __APPLE__
+#include <OpenCL/cl.h>
+#else
#include <CL/cl.h>
+#endif
#define MaxTextExtent 4096
//support AMD opencl