]> git.lyx.org Git - features.git/commitdiff
Small fix for being able to compile with egcs
authorJürgen Vigna <jug@sad.it>
Fri, 5 May 2000 07:54:27 +0000 (07:54 +0000)
committerJürgen Vigna <jug@sad.it>
Fri, 5 May 2000 07:54:27 +0000 (07:54 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@714 a592a061-630c-0410-9148-cb99ea01b6c8

ChangeLog
src/ImportNoweb.C
src/insets/insetbib.C

index 703d48b014110eaf393f98b8db1b79d6fbdb09fe..4c1b0c93696e7269cf512b73dda1b54e052b30a3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-05-05  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insetbib.C: moved using directive
+
+       * src/ImportNoweb.C: small fix for being able to compile (missing
+       include cstdlib)
+
 2000-05-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
 
        * config/lyxinclude.m4 (LYX_CXX_STL_STRING): change the test not
index 450336d4909ed5f2c14fae4a187f47b33fe80f2b..31c30bdd7890cb299200e6a7aeea0f71f604c13e 100644 (file)
 #endif
 
 #include <fstream>
-using std::ifstream;
-using std::getline;
+#include <cstdlib>
 
 #include "ImportNoweb.h"
 #include "lyxrc.h"
 #include "support/syscall.h"
 #include "bufferlist.h"
 
+using std::ifstream;
+using std::getline;
+
 extern BufferList bufferlist;
 
 /*
index 7bebfb9d1fba3028f8881902b815f4a3227d342d..fa7c45034136aec8eb32f61b31c271432655afa0 100644 (file)
@@ -1,9 +1,6 @@
 #include <config.h>
 
 #include <fstream>
-using std::ifstream;
-using std::getline;
-
 #include <cstdlib>
 
 #ifdef __GNUG__
@@ -23,6 +20,8 @@ using std::getline;
 #include "support/filetools.h"
 
 using std::ostream;
+using std::ifstream;
+using std::getline;
 using std::endl;
 
 extern BufferView * current_view;