diff options
author | Rodeo <[email protected]> | 2013-10-20 13:52:51 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-10-20 13:52:51 +0000 |
commit | c7fbc97209a156d1eeb2207fcb69ec2d5f3eb787 (patch) | |
tree | acb9327ea04f5a2e3a1261cda1fdec2f5e43bb3d /libhb/openclwrapper.c | |
parent | 4759bd40cda7b1e71a015e0deb668b56b2fad5fb (diff) |
OpenCL: ship our own headers, to reduce our dependency on external OpenCL SDKs.
Part 1 of a broader OpenCL refactoring.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5844 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/openclwrapper.c')
-rw-r--r-- | libhb/openclwrapper.c | 7 |
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 |