diff options
Diffstat (limited to 'llvm/examples/ExceptionDemo/ExceptionDemo.cpp')
-rw-r--r-- | llvm/examples/ExceptionDemo/ExceptionDemo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp b/llvm/examples/ExceptionDemo/ExceptionDemo.cpp index 5d7a63dce85..cc51706239b 100644 --- a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp +++ b/llvm/examples/ExceptionDemo/ExceptionDemo.cpp @@ -62,6 +62,11 @@ #include "llvm/Support/IRBuilder.h" #include "llvm/Support/Dwarf.h" +// Note: Some systems seem to have a problem finding +// the symbols like stderr, and fprintf when this +// header file is not included +#include <cstdio> + #include <sstream> #include <stdexcept> |