summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/pluginhandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/pluginhandler.cxx')
-rw-r--r--compilerplugins/clang/pluginhandler.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/compilerplugins/clang/pluginhandler.cxx b/compilerplugins/clang/pluginhandler.cxx
index 315062969b25..35b5e03298b4 100644
--- a/compilerplugins/clang/pluginhandler.cxx
+++ b/compilerplugins/clang/pluginhandler.cxx
@@ -13,6 +13,7 @@
#include <system_error>
#include <utility>
+#include "compat.hxx"
#include "plugin.hxx"
#include "pluginhandler.hxx"
@@ -392,7 +393,7 @@ void PluginHandler::HandleTranslationUnit( ASTContext& context )
bool bOk = false;
std::error_code ec;
std::unique_ptr<raw_fd_ostream> ostream(
- new raw_fd_ostream(filename, ec, sys::fs::F_None));
+ new raw_fd_ostream(filename, ec, compat::OF_None));
if( !ec)
{
it->second.write( *ostream );