mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
header cleanup: remove duplicate includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26589 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4122944455
commit
16d182a0b9
@ -60,11 +60,6 @@
|
||||
#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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user