Add more support for intrinsic functions and for varargs stuff
[oota-llvm.git] / lib / Support / PluginLoader.cpp
index c2e4e89813a85a63725a284387d158b16540758b..dce923af7f67f4f68a82c4f4d7c5517c1759bc7f 100644 (file)
@@ -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"));