Skip to content

Commit 2c00502

Browse files
grooverdansvoj
authored andcommitted
my_largepage: reduce includes already in my_global.h
1 parent 96d4b22 commit 2c00502

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

mysys/my_largepage.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,14 @@
1616

1717
#include "mysys_priv.h"
1818

19-
#ifdef HAVE_SYS_MMAN_H
20-
#include <sys/mman.h>
21-
#endif
2219
#ifdef __linux__
23-
#include <linux/mman.h>
2420
#include <dirent.h>
2521
#endif
2622
#if defined(__linux__) || defined(MAP_ALIGNED)
2723
#include "my_bit.h"
2824
#endif
2925

3026
#ifdef HAVE_SOLARIS_LARGE_PAGES
31-
#ifdef HAVE_SYS_TYPES_H
32-
#include <sys/types.h>
33-
#endif
3427
#if defined(__sun__) && defined(__GNUC__) && defined(__cplusplus) \
3528
&& defined(_XOPEN_SOURCE)
3629
/* memcntl exist within sys/mman.h, but under-defines what is need to use it */

0 commit comments

Comments
 (0)