]> git.lyx.org Git - lyx.git/blobdiff - src/Lsstream.h
fix typo that put too many include paths for most people
[lyx.git] / src / Lsstream.h
index 8d171d215642096862f95447ed432b0e03c9c21a..548f971589d5bf971ea00f201f681a08e7847a5a 100644 (file)
@@ -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 <string> is not loaded before lyxstring.h. (JMarc)
+#include "LString.h"
 
 #ifdef HAVE_SSTREAM
 #include <sstream>
@@ -18,4 +22,8 @@
 #include "support/sstream.h"
 #endif
 
+using std::istringstream;
+using std::ostringstream;
+using std::stringstream;
+
 #endif