0020716: Eliminate usage of "config.h" header file
[occt.git] / src / OSD / OSD_Directory.cxx
index bfdd8b1..f64da88 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
 #ifndef WNT
 
 #include <OSD_Directory.ixx>
 #include <OSD_WhoAmI.hxx>
 #include <OSD_Protection.hxx>
 
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-
-#ifdef HAVE_SYS_STAT_H
-# include <sys/stat.h>
-#endif
-
-#ifdef HAVE_SYS_PARAM_H
-# include <sys/param.h>   // For getwd()
-#endif
-
+#include <sys/stat.h>
 #include <errno.h>
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
-
 #include <stdio.h>
-
-#ifdef HAVE_OSFCN_H
-# include <osfcn.h>
-#endif
+#include <unistd.h>
 
 const OSD_WhoAmI Iam = OSD_WDirectory;