diff options
author | sr55 <[email protected]> | 2013-03-01 21:56:44 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2013-03-01 21:56:44 +0000 |
commit | e318631790e818539c917f567cc39babe5def745 (patch) | |
tree | 6186328a5d88743db6fd7a8f5c4bfc55ab303992 | |
parent | 98f2244811e3b027915a6b3d690fe7a0dc4290ca (diff) |
Another opencl header fix on Mac.
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5281 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | libhb/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/common.h b/libhb/common.h index 4d900ef0d..a50591a5f 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -21,8 +21,12 @@ #include <sys/stat.h> #include <dirent.h> #ifdef USE_OPENCL +#if defined(__APPLE__) +#include <OpenCL/cl.h> +#else #include <CL/cl.h> #endif +#endif /* * It seems WinXP doesn't align the stack of new threads to 16 bytes. * To prevent crashes in SSE functions, we need to force stack alignement |