X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLsstream.h;h=548f971589d5bf971ea00f201f681a08e7847a5a;hb=98c966c64594611e469313314abd1e59524adb4a;hp=8d171d215642096862f95447ed432b0e03c9c21a;hpb=45a03f4f67bb00f8142e465c615f348f0622eb32;p=lyx.git diff --git a/src/Lsstream.h b/src/Lsstream.h index 8d171d2156..548f971589 100644 --- a/src/Lsstream.h +++ b/src/Lsstream.h @@ -1,16 +1,20 @@ // -*- C++ -*- /* This file is part of * ====================================================== - * + * * 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 +#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 @@ -18,4 +22,8 @@ #include "support/sstream.h" #endif +using std::istringstream; +using std::ostringstream; +using std::stringstream; + #endif