void-packages/srcpkgs/llvm/files/patches/lldb/fix-musl.patch

10 lines
345 B
Diff

--- source/Core/ConnectionSharedMemory.cpp.orig 2015-05-07 10:52:36.554392575 +0200
+++ source/Core/ConnectionSharedMemory.cpp 2015-05-07 10:52:51.674373757 +0200
@@ -16,6 +16,7 @@
#ifdef _WIN32
#include "lldb/Host/windows/windows.h"
#else
+#include <fnctl.h> /* O_RDRW */
#include <sys/file.h>
#include <sys/mman.h>
#include <sys/stat.h>