mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 11:57:39 +08:00
compiler-rt: Fix warning if COMPILER_RT_HAS_FCNTL_LCK is 0
Fixes "warning: implicit declaration of function 'flock' is invalid in C99" for flock(). llvm-svn: 369534
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include <windows.h>
|
||||
#include "WindowsMMap.h"
|
||||
#else
|
||||
#include <sys/file.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
Reference in New Issue
Block a user