diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y index 24b0abfdd34..585579b6ef2 100644 --- a/lib/AsmParser/llvmAsmParser.y +++ b/lib/AsmParser/llvmAsmParser.y @@ -26,6 +26,7 @@ #include "llvm/Support/Streams.h" #include #include +#include #include #ifndef NDEBUG #define YYDEBUG 1 diff --git a/tools/llvm-upgrade/UpgradeParser.y b/tools/llvm-upgrade/UpgradeParser.y index ad72b3996ad..c003ffed343 100644 --- a/tools/llvm-upgrade/UpgradeParser.y +++ b/tools/llvm-upgrade/UpgradeParser.y @@ -23,6 +23,7 @@ #include "llvm/Support/MathExtras.h" #include #include +#include #include #include