# include <sys/types.h>
#endif
-#include <sys/stat.h>
+#if defined (HAVE_SYS_STAT_H) || defined (WNT)
+# include <sys/stat.h>
+#endif
#include <fcntl.h>
#if defined(HAVE_TIME_H) || defined(WNT)
# include <time.h>
#endif
-#include <iostream.h>
+#ifdef HAVE_IOSTREAM
+# include <iostream>
+#elif defined (HAVE_IOSTREAM_H)
+# include <iostream.h>
+#endif
#endif // DONT_COMPENSATE
#include <TColStd_HSequenceOfHAsciiString.hxx>
// Author: Jean GAUTIER
// <jga@cobrax>
-#include <fstream.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifdef HAVE_FSTREAM
+# include <fstream>
+#elif defined (HAVE_FSTREAM_H)
+# include <fstream.h>
+#endif
#include <TCollection_HAsciiString.hxx>
// Author: Jean GAUTIER
// <jga@cobrax.paris1.matra-dtv.fr>
-#include <fstream.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifdef HAVE_FSTREAM
+# include <fstream>
+#elif defined (HAVE_FSTREAM_H)
+# include <fstream.h>
+#endif
#include <TColStd_HSequenceOfHAsciiString.hxx>
#include <WOKTools_Messages.hxx>
#if defined(HAVE_TIME_H) || defined(WNT)
# include <time.h>
#endif
+#ifdef HAVE_IOSTREAM
+# include <iostream>
+#elif defined (HAVE_IOSTREAM_H)
+# include <iostream.h>
+#endif
-#include <iostream.h>
+// endif DONT_COMPENSATE
#endif
+//
#include <WOKTools_Messages.hxx>
#include <WOKUtils_Path.hxx>
#ifdef WNT
#include <io.h>
-#else
+#endif
+
+#ifdef HAVE_FSTREAM
+# include <fstream>
+#elif defined (HAVE_FSTREAM_H)
# include <fstream.h>
#endif
#include <TColStd_HSequenceOfHAsciiString.hxx>
-#include <stdlib.h>
-#include <fstream.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifdef HAVE_FSTREAM
+# include <fstream>
+#elif defined (HAVE_FSTREAM_H)
+# include <fstream.h>
+#endif
+#ifdef HAVE_STDLIB_H
+# include <stdlib.h>
+#endif
#ifdef WNT
# include <WOKNT_WNT_BREAK.hxx>