1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 22:58:30 +00:00

include the right cl.h on FreeBSD

This commit is contained in:
Nikolai Lifanov 2016-07-05 15:12:05 -04:00
parent dd66aba33f
commit a2663fb93a

View File

@ -27,6 +27,10 @@
// #include <CL/cl_ext.h> // used for CL_DEVICE_TOPOLOGY_AMD but broken for dual GPU
#endif
#ifdef __FreeBSD__
#include <CL/cl.h>
#endif
#include <shared.h>
typedef cl_mem (CL_API_CALL *OCL_CLCREATEBUFFER) (cl_context, cl_mem_flags, size_t, void *, cl_int *);