From 60e132e76e72f15ae88a22d056ea535e8b064be4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 17 Aug 2001 11:08:55 +0000 Subject: [PATCH] fixes from Angus git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2531 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_deliminset.C | 3 +++ src/mathed/math_parser.C | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mathed/math_deliminset.C b/src/mathed/math_deliminset.C index 84a1001f99..9fc14cad78 100644 --- a/src/mathed/math_deliminset.C +++ b/src/mathed/math_deliminset.C @@ -1,3 +1,5 @@ +#include + #ifdef __GNUG__ #pragma implementation #endif @@ -7,6 +9,7 @@ #include "mathed/support.h" #include "support/LOstream.h" +using std::max; MathDelimInset::MathDelimInset(latexkeys const * l, latexkeys const * r) : MathNestInset(1), left_(l), right_(r) diff --git a/src/mathed/math_parser.C b/src/mathed/math_parser.C index a9dd1d1f91..ac4e2519b8 100644 --- a/src/mathed/math_parser.C +++ b/src/mathed/math_parser.C @@ -46,6 +46,8 @@ #include "support/lstrings.h" using std::istream; +using std::ostream; +using std::ios; using std::endl; @@ -128,7 +130,7 @@ enum { FLAG_NEWLINE = 1 << 6, // next \\\\ ends the parsing process FLAG_ITEM = 1 << 7, // read a (possibly braced token) FLAG_BLOCK = 1 << 8, // next block ends the parsing process - FLAG_LEAVE = 1 << 9, // leave the loop at the end + FLAG_LEAVE = 1 << 9 // leave the loop at the end }; -- 2.39.2