mirror of
https://github.com/opencv/opencv.git
synced 2025-07-25 22:57:53 +08:00
Merge pull request #26803 from brad0:opencl_openbsd
OpenCL: OpenBSD build fix
This commit is contained in:
commit
133fda3c56
@ -152,7 +152,7 @@ static void* WinGetProcAddress(const char* name)
|
|||||||
#define CV_CL_GET_PROC_ADDRESS(name) WinGetProcAddress(name)
|
#define CV_CL_GET_PROC_ADDRESS(name) WinGetProcAddress(name)
|
||||||
#endif // _WIN32
|
#endif // _WIN32
|
||||||
|
|
||||||
#if defined(__linux__) || defined(__FreeBSD__)
|
#if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user