#ifndef _PARSE_FILE_H_
#define _PARSE_FILE_H_
-#include <string>
-#include <list>
-#include <fstream>
-
#include <simgear/compiler.h>
-FG_USING_STD(list);
-FG_USING_STD(string);
-FG_USING_STD(ifstream);
+#include <string>
+#include <list>
+#include STL_FSTREAM
+
+SG_USING_STD(list);
+SG_USING_STD(string);
+SG_USING_STD(getline);
+#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
+SG_USING_STD(ifstream);
+#endif
#define DELIMITERS " \t"
#define COMMENT "#"