Attempt to fix Apple buildit bots
llvm-svn: 294731
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 637160c55aae9d1484c83b2225658170b1238714
diff --git a/src/new.cpp b/src/new.cpp
index cb8e3ae..5a4686d 100644
--- a/src/new.cpp
+++ b/src/new.cpp
@@ -23,7 +23,11 @@
#elif defined(__GLIBCXX__)
// nothing todo
#else
-#include "support/runtime/new_handler_fallback.ipp"
+# if defined(__APPLE__) && !defined(_LIBCPP_BUILDING_HAS_NO_ABI_LIBRARY)
+# include <cxxabi.h> // FIXME: remove this once buildit is gone.
+# else
+# include "support/runtime/new_handler_fallback.ipp"
+# endif
#endif
namespace std