[Lldb-commits] [lldb] [lldb-dap] Fix lldb-dap build for windows, missing PATH_MAX. (PR #115551)

via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 8 14:07:17 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: John Harrison (ashgti)

<details>
<summary>Changes</summary>

This should fix https://lab.llvm.org/buildbot/#/builders/141/builds/3722

---
Full diff: https://github.com/llvm/llvm-project/pull/115551.diff


1 Files Affected:

- (modified) lldb/tools/lldb-dap/JSONUtils.cpp (+1) 


``````````diff
diff --git a/lldb/tools/lldb-dap/JSONUtils.cpp b/lldb/tools/lldb-dap/JSONUtils.cpp
index 663ae33ed83170..a7300abae0eac8 100644
--- a/lldb/tools/lldb-dap/JSONUtils.cpp
+++ b/lldb/tools/lldb-dap/JSONUtils.cpp
@@ -31,6 +31,7 @@
 #include "lldb/API/SBThread.h"
 #include "lldb/API/SBType.h"
 #include "lldb/API/SBValue.h"
+#include "lldb/Host/PosixApi.h" // IWYU pragma: keep
 #include "lldb/lldb-defines.h"
 #include "lldb/lldb-enumerations.h"
 #include "lldb/lldb-types.h"

``````````

</details>


https://github.com/llvm/llvm-project/pull/115551


More information about the lldb-commits mailing list