diff --git a/src/support/FileName.cpp b/src/support/FileName.cpp index 43a6f1eda7..4234a840e5 100644 --- a/src/support/FileName.cpp +++ b/src/support/FileName.cpp @@ -60,11 +60,6 @@ #include #include - -#ifdef HAVE_UNISTD_H -# include -#endif - #if defined(HAVE_MKSTEMP) && ! defined(HAVE_DECL_MKSTEMP) extern "C" int mkstemp(char *); #endif @@ -82,16 +77,6 @@ extern "C" int mkstemp(char *); // are available. Order is faster to slowest. #if defined(HAVE_MMAP) && defined(HAVE_MUNMAP) #define SUM_WITH_MMAP -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#include -#ifdef HAVE_UNISTD_H -# include -#endif #include #endif // SUM_WITH_MMAP