summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorRodeo <[email protected]>2013-10-20 13:52:51 +0000
committerRodeo <[email protected]>2013-10-20 13:52:51 +0000
commitc7fbc97209a156d1eeb2207fcb69ec2d5f3eb787 (patch)
treeacb9327ea04f5a2e3a1261cda1fdec2f5e43bb3d /libhb/common.h
parent4759bd40cda7b1e71a015e0deb668b56b2fad5fb (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/common.h')
-rw-r--r--libhb/common.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libhb/common.h b/libhb/common.h
index 42fd0a212..9244c981c 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -20,12 +20,9 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
+
#ifdef USE_OPENCL
-#if defined(__APPLE__)
-#include <OpenCL/cl.h>
-#else
-#include <CL/cl.h>
-#endif
+#include "extras/cl.h"
#endif
/*
* It seems WinXP doesn't align the stack of new threads to 16 bytes.