// Author: Jean GAUTIER
// <jga@cobrax>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#ifndef DONT_COMPENSATE
#include <stdio.h>
+
#ifdef WNT
-#include <io.h>
-#else
-#include <unistd.h>
+# include <io.h>
+#endif // WNT
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
#endif
-#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include <time.h>
-
-#include <iostream.h>
+#if defined(HAVE_TIME_H) || defined(WNT)
+# include <time.h>
#endif
+#include <iostream.h>
+#endif // DONT_COMPENSATE
+
#include <TColStd_HSequenceOfHAsciiString.hxx>
#include <WOKTools_Messages.hxx>
#ifdef WNT
# include <io.h>
-#else
-#include <unistd.h>
#endif // WNT
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
#include <WOKTools_Messages.hxx>
#include <WOKUtils_Param.hxx>
// Author: Jean GAUTIER
// <jga@cobrax>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef DONT_COMPENSATE
#include <stdio.h>
+
#ifdef WNT
-#include <io.h>
-#else
-#include <unistd.h>
+# include <io.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
+#if defined(HAVE_SYS_TYPES_H) || defined(WNT)
+# include <sys/types.h>
+#endif
+
+#if defined(HAVE_SYS_STAT_H) || defined(WNT)
+# include <sys/stat.h>
#endif
-#include <sys/types.h>
-#include <sys/stat.h>
#include <fcntl.h>
-#include <time.h>
-#include <iostream.h>
+#if defined(HAVE_TIME_H) || defined(WNT)
+# include <time.h>
+#endif
+#include <iostream.h>
#endif
#include <WOKTools_Messages.hxx>
// Author: Jean GAUTIER
// <jga@hourax.paris1.matra-dtv.fr>
-
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#ifdef WNT
#include <io.h>
#else
-#include <unistd.h>
+# include <fstream.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
#endif
-#include <fstream.h>
#include <TCollection_HAsciiString.hxx>
#define CHECK_REMOTE 1
#endif // WNT
-#ifdef LIN
+#ifdef HAVE_IOMANIP_H
# include <iomanip.h>
-#endif // LIN
+#endif
//=======================================================================
//function : WOKStep_ProcessStep