aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGarrison Venn <gvenn.cfe.dev@gmail.com>2011-04-11 19:52:49 +0000
committerGarrison Venn <gvenn.cfe.dev@gmail.com>2011-04-11 19:52:49 +0000
commit2a7d4ad1f4f008ba4820782331464aedccd969d5 (patch)
tree6cf5e07e117bc9a1a60789c796aeb733fd109d8a /examples
parentf18dfc3a318b6dae66f3439555f6d32900654425 (diff)
Because some systems have reported that this example would not build the
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
Diffstat (limited to 'examples')
-rw-r--r--examples/ExceptionDemo/ExceptionDemo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/ExceptionDemo/ExceptionDemo.cpp b/examples/ExceptionDemo/ExceptionDemo.cpp
index 5d7a63dce8..cc51706239 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 <cstdio>
+
#include <sstream>
#include <stdexcept>