+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
-#ifndef WNT
-#include <strstream.h>
+#ifdef HAVE_STRSTREAM_H
+# include <strstream.h>
#endif
#include <fstream.h>
#define WOK_DEPCOMPAT 1
#endif
-#ifdef LIN
+#ifdef HAVE_IOMANIP_H
# include <iomanip.h>
-#endif // LIN
+#endif
//=======================================================================
//function : WOKernel_DevUnit
// <jga@cobrax>
#include <fstream.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <WOKernel_Factory.ixx>
#include <TColStd_HSequenceOfHAsciiString.hxx>
-#ifdef LIN
+#ifdef HAVE_IOMANIP_H
# include <iomanip.h>
-#endif // LIN
+#endif
//=======================================================================
//function : WOKernel_Factory
// Author: Jean GAUTIER
// <jga@cobrax>
-#ifndef WNT
-#include <unistd.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
#endif
#include <WOKTools_Messages.hxx>
#include <WOKernel_Locator.ixx>
#ifdef WNT
-#include <windows.h>
+# include <windows.h>
+#endif
+
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
#endif
//---> EUG4JR
// <jga@cobrax>
#include <fstream.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <Standard_ProgramError.hxx>
#include <WOKernel_Parcel.ixx>
-#ifdef LIN
+#ifdef HAVE_IOMANIP_H
# include <iomanip.h>
-#endif // LIN
+#endif
//=======================================================================
//function : WOKernel_Parcel
// <jga@cobrax>
#include <fstream.h>
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
#include <WOKernel_Session.ixx>
#include <TColStd_HSequenceOfHAsciiString.hxx>
#include <TColStd_HSequenceOfAsciiString.hxx>
-#ifdef LIN
+#ifdef HAVE_IOMANIP_H
# include <iomanip.h>
-#endif // LIN
+#endif
//=======================================================================
//function : WOKernel_Session
// <jga@cobrax>
#include <fstream.h>
-
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <WOKernel_Workbench.ixx>
#include <WOKernel_Session.hxx>
#include <TColStd_HSequenceOfHAsciiString.hxx>
#include <TColStd_HSequenceOfAsciiString.hxx>
-#ifdef LIN
+#ifdef HAVE_IOMANIP_H
# include <iomanip.h>
-#endif // LIN
+#endif
//=======================================================================
//function : WOKernel_Workbench