diff options
author | Garrison Venn <gvenn.cfe.dev@gmail.com> | 2011-04-11 19:52:49 +0000 |
---|---|---|
committer | Garrison Venn <gvenn.cfe.dev@gmail.com> | 2011-04-11 19:52:49 +0000 |
commit | 56c5ca2ee1f28ac84c0c114d8df73fed5820fc02 (patch) | |
tree | c03b7d4834f33cdf4987cc164196813c45db6e83 /llvm/examples | |
parent | 71c21d18c3a29abf03e7904b42d84ccfc3be036b (diff) | |
download | bcm5719-llvm-56c5ca2ee1f28ac84c0c114d8df73fed5820fc02.tar.gz bcm5719-llvm-56c5ca2ee1f28ac84c0c114d8df73fed5820fc02.zip |
Because some systems have reported that this example would not build the
header file cstdio was added as an include.
llvm-svn: 129291
Diffstat (limited to 'llvm/examples')
-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> |