[PATCH] D31275: Fix lldb build on musl

Khem Raj via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 21 09:46:24 PDT 2018


raj.khem updated this revision to Diff 143455.
Herald added a subscriber: llvm-commits.

Repository:
  rL LLVM

https://reviews.llvm.org/D31275

Files:
  source/Utility/FileSpec.cpp


Index: source/Utility/FileSpec.cpp
===================================================================
--- source/Utility/FileSpec.cpp
+++ source/Utility/FileSpec.cpp
@@ -30,7 +30,7 @@
 #include <assert.h> // for assert
 #include <stdio.h>  // for size_t, NULL, snpr...
 #include <string.h> // for strcmp
-
+#include <limits.h> // for PATH_MAX
 using namespace lldb;
 using namespace lldb_private;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31275.143455.patch
Type: text/x-patch
Size: 400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180421/b4eedb59/attachment.bin>


More information about the llvm-commits mailing list