]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.h
Account for old versions of Pygments
[lyx.git] / src / output_plaintext.h
index b047c9cf262ed64c3a26e5403008ad3d4bb70e24..ebecc5ceba6f3317f2b26722306ab176eb711baa 100644 (file)
@@ -13,6 +13,9 @@
 #define OUTPUT_PLAINTEXT_H
 
 #include "support/strfwd.h"
+#include "support/types.h"
+
+#include <climits>
 
 
 namespace lyx {
@@ -36,7 +39,8 @@ void writePlaintextParagraph(Buffer const & buf,
                    Paragraph const & paragraphs,
                    odocstream & ofs,
                    OutputParams const &,
-                   bool & ref_printed);
+                   bool & ref_printed,
+                   size_t max_length = INT_MAX);
 
 } // namespace lyx