Because some systems have reported that this example would not build the
authorGarrison Venn <gvenn.cfe.dev@gmail.com>
Mon, 11 Apr 2011 19:52:49 +0000 (19:52 +0000)
committerGarrison Venn <gvenn.cfe.dev@gmail.com>
Mon, 11 Apr 2011 19:52:49 +0000 (19:52 +0000)
header file cstdio was added as an include.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129291 91177308-0d34-0410-b5e6-96231b3b80d8

examples/ExceptionDemo/ExceptionDemo.cpp

index 5d7a63dce85b7f0e81783a4bfe0052887737016b..cc51706239ba29551677fe331f0493c7006760ab 100644 (file)
 #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>