]> git.lyx.org Git - lyx.git/blobdiff - src/Lsstream.h
fix "make dist" target
[lyx.git] / src / Lsstream.h
index 89676b8a4ed6f446dc8287928333efe24d28790a..536899566dfe8a9a7b3549ecbdaa59ccac27c4f6 100644 (file)
 #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>
-using std::istringstream;
-using std::ostringstream;
 #else
 #include "support/sstream.h"
 #endif
 
+using std::istringstream;
+using std::ostringstream;
+
 #endif