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 };