diff options
-rw-r--r-- | clang-tools-extra/clangd/Context.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang-tools-extra/clangd/Context.cpp b/clang-tools-extra/clangd/Context.cpp index 0a1bacd7061..23006778f55 100644 --- a/clang-tools-extra/clangd/Context.cpp +++ b/clang-tools-extra/clangd/Context.cpp @@ -19,6 +19,7 @@ // It requires support from the runtime: __cxa_thread_atexit. // Rather than detect this, we use the pthread API where available. #include <pthread.h> +#include <cstring> static clang::clangd::Context ¤tContext() { using clang::clangd::Context; static pthread_key_t CtxKey; |