llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: None (royitaqi)

<details>
<summary>Changes</summary>

Fix build break for Windows, caused by a [previous 
patch](https://github.com/llvm/llvm-project/pull/102223) using `PATH_MAX` which 
is undefined in Windows.

The fix is to `#include "lldb/Host/PosixApi.h"` in the source file.

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


1 Files Affected:

- (modified) lldb/source/Utility/RealpathPrefixes.cpp (+1) 


``````````diff
diff --git a/lldb/source/Utility/RealpathPrefixes.cpp 
b/lldb/source/Utility/RealpathPrefixes.cpp
index 14c81ee6a1f571..ee1c404c899676 100644
--- a/lldb/source/Utility/RealpathPrefixes.cpp
+++ b/lldb/source/Utility/RealpathPrefixes.cpp
@@ -8,6 +8,7 @@
 
 #include "lldb/Utility/RealpathPrefixes.h"
 
+#include "lldb/Host/PosixApi.h"
 #include "lldb/Utility/FileSpec.h"
 #include "lldb/Utility/FileSpecList.h"
 #include "lldb/Utility/LLDBLog.h"

``````````

</details>


https://github.com/llvm/llvm-project/pull/104493
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to