summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/Debug.h')
-rw-r--r--include/llvm/Support/Debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Support/Debug.h b/include/llvm/Support/Debug.h
index 66a208811a..f0a1b3dc5b 100644
--- a/include/llvm/Support/Debug.h
+++ b/include/llvm/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