forked from OSchip/llvm-project
Use fcntl.h to retrieve the O_CREAT and O_RDWR constants.
Summary: Normally, these macros are defined in fnctl.h. However, GLIBC exposes their definition through <sys/file.h> too. This change allows us to compile LLDB with non-GLIBC C libraries. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13022 llvm-svn: 248255
This commit is contained in:
parent
bbfd20d7dd
commit
44562da811
|
@ -16,10 +16,10 @@
|
|||
#ifdef _WIN32
|
||||
#include "lldb/Host/windows/windows.h"
|
||||
#else
|
||||
#include <sys/file.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
// C++ Includes
|
||||
|
|
Loading…
Reference in New Issue