Skip to content

fix PATH_MAX missing in windows build #142259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

eronnen
Copy link
Contributor

@eronnen eronnen commented May 31, 2025

No description provided.

@llvmbot
Copy link
Member

llvmbot commented May 31, 2025

@llvm/pr-subscribers-lldb

Author: Ely Ronnen (eronnen)

Changes

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

1 Files Affected:

  • (modified) lldb/tools/lldb-dap/ProtocolUtils.cpp (+1)
diff --git a/lldb/tools/lldb-dap/ProtocolUtils.cpp b/lldb/tools/lldb-dap/ProtocolUtils.cpp
index b760a81b73959..4e47c87b73592 100644
--- a/lldb/tools/lldb-dap/ProtocolUtils.cpp
+++ b/lldb/tools/lldb-dap/ProtocolUtils.cpp
@@ -11,6 +11,7 @@
 
 #include "lldb/API/SBDebugger.h"
 #include "lldb/API/SBTarget.h"
+#include "lldb/Host/PosixApi.h" // Adds PATH_MAX for windows
 
 namespace lldb_dap {
 

@eronnen eronnen merged commit 3b6ff59 into llvm:main May 31, 2025
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants