]> git.lyx.org Git - features.git/commitdiff
header cleanup: remove duplicate includes.
authorAbdelrazak Younes <younes@lyx.org>
Sat, 27 Sep 2008 09:22:51 +0000 (09:22 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 27 Sep 2008 09:22:51 +0000 (09:22 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26589 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/FileName.cpp

index 43a6f1eda778fc4ef253280f16f31103742b9a3d..4234a840e563a68c98f1b95110f9d029bd3c5565 100644 (file)
 #include <cerrno>
 #include <fcntl.h>
 
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#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 <sys/types.h>
-#endif
-#ifdef HAVE_SYS_STAT_H
-# include <sys/stat.h>
-#endif
-#include <fcntl.h>
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
 #include <sys/mman.h>
 #endif // SUM_WITH_MMAP