vcpkg/ports/llvm/0011-missing-include.patch

13 lines
394 B
Diff
Raw Normal View History

2023-09-06 13:41:12 +08:00
diff --git a/llvm/lib/Debuginfod/Debuginfod.cpp b/llvm/lib/Debuginfod/Debuginfod.cpp
index ef4e11ca3..29fdd6ffb 100644
--- a/llvm/lib/Debuginfod/Debuginfod.cpp
+++ b/llvm/lib/Debuginfod/Debuginfod.cpp
@@ -40,6 +40,7 @@
#include "llvm/Support/xxhash.h"
#include <atomic>
+#include <thread>
namespace llvm {
static std::string uniqueKey(llvm::StringRef S) { return utostr(xxHash64(S)); }