]> git.lyx.org Git - lyx.git/blobdiff - src/support/docstream.cpp
Fix build with GNU libstdc++ C++11 ABI
[lyx.git] / src / support / docstream.cpp
index 5ae2ff3224daaab6832ecd658144f5904a4994f3..34008cb8518058e88264eb8d85bf5bf9da767815 100644 (file)
 #include <config.h>
 
 #include "support/docstream.h"
+#include "support/lstrings.h"
 #include "support/unicode.h"
 
+#include <algorithm>
 #include <cerrno>
 #include <cstdio>
 #include <cstring>
@@ -403,6 +405,7 @@ odocstream & operator<<(odocstream & os, char c)
 
 }
 
+
 #if ! defined(USE_WCHAR_T) && defined(__GNUC__)
 // We get undefined references to these virtual methods. This looks like
 // a bug in gcc. The implementation here does not do anything useful, since