#ifdef FGFS
# include <simgear/compiler.h>
-# ifdef FG_HAVE_STD_INCLUDES
-# include <iostream>
-# include <fstream>
-# else
-# include <iostream.h>
-# include <fstream.h>
-# endif
+# include STL_STRING
+# include STL_IOSTREAM
+# include STL_FSTREAM
+ SG_USING_STD(cout);
+ SG_USING_STD(endl);
#else
# include <iostream>
# include <fstream>
+# include <string>
+ using std::cout;
+ using std::endl;
#endif
-#include <string>
#include <sys/types.h>
#if defined(__BORLANDC__) || defined(_MSC_VER)
#define ID_FDMSOCKET "$Id$"
-using std::cout;
-using std::endl;
-
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CLASS DECLARATION
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/