aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/CL20/cl.h
diff options
context:
space:
mode:
Diffstat (limited to 'make/stub_includes/CL20/cl.h')
-rw-r--r--make/stub_includes/CL20/cl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/stub_includes/CL20/cl.h b/make/stub_includes/CL20/cl.h
index 0105e573..caea06bb 100644
--- a/make/stub_includes/CL20/cl.h
+++ b/make/stub_includes/CL20/cl.h
@@ -25,7 +25,8 @@
#define __OPENCL_CL_H
#ifdef __APPLE__
-#include <OpenCL/cl_platform.h>
+#pragma GCC diagnostic ignored "-Wignored-attributes"
+#include <CL/cl_platform.h>
#else
#include <CL/cl_platform.h>
#endif