diff --git a/llvm/lib/Support/PrettyStackTrace.cpp b/llvm/lib/Support/PrettyStackTrace.cpp index 5d3335d001f31..fa91405fee10a 100644 --- a/llvm/lib/Support/PrettyStackTrace.cpp +++ b/llvm/lib/Support/PrettyStackTrace.cpp @@ -20,6 +20,10 @@ #include "llvm/Support/Watchdog.h" #include "llvm/Support/raw_ostream.h" +#ifdef __APPLE__ +#include "llvm/ADT/SmallString.h" +#endif + #include #include #include