summaryrefslogtreecommitdiffstats
path: root/libhb/openclwrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/openclwrapper.c')
-rw-r--r--libhb/openclwrapper.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libhb/openclwrapper.c b/libhb/openclwrapper.c
index 515297523..327eee372 100644
--- a/libhb/openclwrapper.c
+++ b/libhb/openclwrapper.c
@@ -15,6 +15,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include "extras/cl.h"
#include "openclwrapper.h"
#include "openclkernels.h"
@@ -23,12 +24,6 @@
#include <windows.h>
#endif
-#if defined(__APPLE__)
-#include <OpenCL/cl.h>
-#else
-#include <CL/cl.h>
-#endif
-
#if defined(_MSC_VER)
#define strcasecmp strcmpi
#endif