X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLsstream.h;h=9c8b3c74d3ca953b428c4ee4b62e2e24208134f4;hb=9dafe9b9a5cb12e19e0f3a1a9669d81dc140b0e3;hp=89676b8a4ed6f446dc8287928333efe24d28790a;hpb=160dc67127a88201dec6ec4d98e28ff260af3ccc;p=lyx.git diff --git a/src/Lsstream.h b/src/Lsstream.h index 89676b8a4e..9c8b3c74d3 100644 --- a/src/Lsstream.h +++ b/src/Lsstream.h @@ -5,19 +5,25 @@ * LyX, The Document Processor * * Copyright 1995 Matthias Ettrich - * Copyright 1995-2000 The LyX Team. + * Copyright 1995-2001 The LyX Team. * * ====================================================== */ #ifndef LSSTREAM_H #define LSSTREAM_H +// Since we will include a string header anyway, we'd better do it +// right now so that is not loaded before lyxstring.h. (JMarc) +#include "LString.h" + #ifdef HAVE_SSTREAM #include -using std::istringstream; -using std::ostringstream; #else #include "support/sstream.h" #endif +using std::istringstream; +using std::ostringstream; +using std::stringstream; + #endif