]> git.lyx.org Git - lyx.git/blobdiff - src/Lsstream.h
Herbert's fix to bug #222.
[lyx.git] / src / Lsstream.h
index 79330e2d798a183afbdf413b2729323db0025fe9..9c8b3c74d3ca953b428c4ee4b62e2e24208134f4 100644 (file)
@@ -5,13 +5,17 @@
  *           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 <string> is not loaded before lyxstring.h. (JMarc)
+#include "LString.h"
+
 #ifdef HAVE_SSTREAM
 #include <sstream>
 #else
@@ -20,5 +24,6 @@
 
 using std::istringstream;
 using std::ostringstream;
+using std::stringstream;
 
 #endif