[Lldb-commits] [PATCH] D13022: Use fcntl.h to retrieve the O_CREAT and O_RDRW constants.

Vasileios Kalintiris via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 21 08:03:43 PDT 2015


vkalintiris updated this revision to Diff 35258.
vkalintiris updated the summary for this revision.
vkalintiris added a comment.

Use fcntl.h instead of sys/fcntl.h.


http://reviews.llvm.org/D13022

Files:
  source/Core/ConnectionSharedMemory.cpp

Index: source/Core/ConnectionSharedMemory.cpp
===================================================================
--- source/Core/ConnectionSharedMemory.cpp
+++ source/Core/ConnectionSharedMemory.cpp
@@ -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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13022.35258.patch
Type: text/x-patch
Size: 422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150921/3be32660/attachment.bin>


More information about the lldb-commits mailing list