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

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


Author: John Harrison
Date: 2024-11-08T14:09:07-08:00
New Revision: 8d8d9f0ece2337d0ce34f464f0ce3d5193460ca4

URL: https://github.com/llvm/llvm-project/commit/8d8d9f0ece2337d0ce34f464f0ce3d5193460ca4
DIFF: https://github.com/llvm/llvm-project/commit/8d8d9f0ece2337d0ce34f464f0ce3d5193460ca4.diff

LOG: [lldb-dap] Fix lldb-dap build for windows, missing PATH_MAX. (#115551)

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

Added: 
    

Modified: 
    lldb/tools/lldb-dap/JSONUtils.cpp

Removed: 
    


################################################################################
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"


        


More information about the lldb-commits mailing list