summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/Support/Debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/Support/Debug.h b/llvm/include/Support/Debug.h
index 66a208811ae..f0a1b3dc5bd 100644
--- a/llvm/include/Support/Debug.h
+++ b/llvm/include/Support/Debug.h
@@ -26,6 +26,9 @@
#ifndef SUPPORT_DEBUG_H
#define SUPPORT_DEBUG_H
+// Unsurprisingly, most users of this macro use std::cerr too.
+#include <iostream>
+
namespace llvm {
// DebugFlag - This boolean is set to true if the '-debug' command line option
OpenPOWER on IntegriCloud