mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 05:29:54 +08:00
Update system.cpp
FreeBSD compilation fix
This commit is contained in:
parent
b4112a5878
commit
d3b0bda011
@ -64,12 +64,14 @@ Mutex* __initialization_mutex_initializer = &getInitializationMutex();
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined ANDROID || defined __linux__
|
||||
#if defined ANDROID || defined __linux__ || defined __FreeBSD__
|
||||
# include <unistd.h>
|
||||
# include <fcntl.h>
|
||||
# include <elf.h>
|
||||
#if defined ANDROID || defined __linux__
|
||||
# include <linux/auxvec.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined WIN32 || defined _WIN32 || defined WINCE
|
||||
#ifndef _WIN32_WINNT // This is needed for the declaration of TryEnterCriticalSection in winbase.h with Visual Studio 2005 (and older?)
|
||||
|
Loading…
Reference in New Issue
Block a user