summaryrefslogtreecommitdiff
path: root/lib/Support/PluginLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/PluginLoader.cpp')
-rw-r--r--lib/Support/PluginLoader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Support/PluginLoader.cpp b/lib/Support/PluginLoader.cpp
index c2e4e89813..dce923af7f 100644
--- a/lib/Support/PluginLoader.cpp
+++ b/lib/Support/PluginLoader.cpp
@@ -13,6 +13,7 @@
#include "Support/CommandLine.h"
#include <dlfcn.h>
#include <link.h>
+#include <iostream>
namespace {
struct PluginLoader {
@@ -25,6 +26,6 @@ namespace {
}
// This causes operator= above to be invoked for every -load option.
-static cl::opt<PluginLoader, false, cl::parser<string> >
+static cl::opt<PluginLoader, false, cl::parser<std::string> >
LoadOpt("load", cl::ZeroOrMore, cl::value_desc("plugin.so"),
cl::desc("Load the specified plugin"));