diff --git a/lldb/test/API/api/multithreaded/test_stop-hook.cpp.template b/lldb/test/API/api/multithreaded/test_stop-hook.cpp.template index 8b60421ec301e..393e717cceb5a 100644 --- a/lldb/test/API/api/multithreaded/test_stop-hook.cpp.template +++ b/lldb/test/API/api/multithreaded/test_stop-hook.cpp.template @@ -12,6 +12,10 @@ #include "common.h" +#if !defined(PATH_MAX) +#define PATH_MAX 4096 +#endif + using namespace lldb; void test(SBDebugger &dbg, std::vector args) {