include the right cl.h on FreeBSD
[hashcat.git] / include / ext_OpenCL.h
index 4ffd56b..ae07285 100644 (file)
 // #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 *);