From 6cd1933961ee12de50fa12a051211608c5ca6ed0 Mon Sep 17 00:00:00 2001 From: Garrison Venn Date: Mon, 11 Apr 2011 19:52:49 +0000 Subject: [PATCH] Because some systems have reported that this example would not build the header file cstdio was added as an include. llvm-svn: 129291 --- examples/ExceptionDemo/ExceptionDemo.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/ExceptionDemo/ExceptionDemo.cpp b/examples/ExceptionDemo/ExceptionDemo.cpp index 5d7a63dce85..cc51706239b 100644 --- a/examples/ExceptionDemo/ExceptionDemo.cpp +++ b/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 + #include #include