mirror of
https://github.com/opencv/opencv.git
synced 2025-07-23 04:52:54 +08:00
OpenBSD build fix
required for close calls.
This commit is contained in:
parent
6316b3ed91
commit
06a4c20f60
@ -94,7 +94,7 @@ void* allocSingletonBuffer(size_t size) { return fastMalloc(size); }
|
||||
#include <cstdlib> // std::abort
|
||||
#endif
|
||||
|
||||
#if defined __ANDROID__ || defined __linux__ || defined __FreeBSD__ || defined __HAIKU__
|
||||
#if defined __ANDROID__ || defined __linux__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __HAIKU__
|
||||
# include <unistd.h>
|
||||
# include <fcntl.h>
|
||||
# include <elf.h>
|
||||
|
Loading…
Reference in New Issue
Block a user