]> git.mxchange.org Git - simgear.git/blobdiff - simgear/compatibility/istream
Don't use floats where ints are more appropriate
[simgear.git] / simgear / compatibility / istream
index 367c47f21b4273d2e8db2d5211bc18cb117ba8a2..c56afc14937613678d46645d02017f802fca9c8c 100644 (file)
@@ -2,12 +2,16 @@
 #ifndef __SG_ISTREAM
 #define __SG_ISTREAM 1
 
-#if defined(sgi) && !defined(__GNUC__)
+# include <iostream>
+
+# if defined(sgi) && !defined(__GNUC__)
 
 # include <stream.h>
-# include <iostream>
+# include <string>
+
+  using std::getline;
 
-#endif
+# endif
 
 #endif // !__SG_ISTREAM