summaryrefslogtreecommitdiff
path: root/examples/ExceptionDemo/ExceptionDemo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ExceptionDemo/ExceptionDemo.cpp')
-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>