Update system.cpp

FreeBSD compilation fix
This commit is contained in:
Bert 2015-11-13 11:03:34 +03:00
parent b4112a5878
commit d3b0bda011

View File

@ -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?)