diff options
author | Thomas White <taw@physics.org> | 2018-06-21 12:06:47 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-06-21 12:06:47 +0200 |
commit | 3400d1416d8eb07b21595638c6d6e738bd6b1ccc (patch) | |
tree | 2d275b76cbfbdb36878ad3e63b790c64fdf9a5a7 /src/diffraction-gpu.c | |
parent | 9564ff6039f73ef5840e1b545189fea50e3ab188 (diff) |
Fix OpenCL tests and includes
Diffstat (limited to 'src/diffraction-gpu.c')
-rw-r--r-- | src/diffraction-gpu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/diffraction-gpu.c b/src/diffraction-gpu.c index 8c21586a..ea50b3fa 100644 --- a/src/diffraction-gpu.c +++ b/src/diffraction-gpu.c @@ -38,7 +38,11 @@ #include <string.h> #include <complex.h> +#ifdef HAVE_CL_CL_H #include <CL/cl.h> +#else +#include <cl.h> +#endif #include "image.h" #include "utils.h" |