#ifndef WNT
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#ifdef HAVE_FSTREAM
-# include <fstream>
-#elif defined (HAVE_FSTREAM_H)
-# include <fstream.h>
-#endif
+#include <Standard_Stream.hxx>
#include <WOKUnix_AdmFile.ixx>
#define WOKUnix_MaxPipeSize_HeaderFile
#include <sys/param.h>
-#include <limits.h>
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#ifdef HAVE_LIMITS
+# include <limits>
+#elif defined (HAVE_LIMITS_H)
+# include <limits.h>
+#endif
#define MAX_PIPE_SIZE PIPE_BUF
# include <strings.h>
#endif
-#ifdef HAVE_FSTREAM
-# include <fstream>
-#elif defined (HAVE_FSTREAM_H)
-# include <fstream.h>
-#endif
-
#include <stdio.h>
-
+#include <Standard_Stream.hxx>
#include <WOKTools_Messages.hxx>
#include <WOKUnix_ASyncStatus.hxx>