diff options
author | Daniel Black <daniel@linux.ibm.com> | 2020-04-06 11:55:42 +1000 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2020-04-08 14:51:14 +0400 |
commit | 2c005020148ea2d03b9ee3555dd8f04aeaa8fdc2 (patch) | |
tree | 78a537616f860f4e36467e3240c26ade0cca080d | |
parent | 96d4b228ea5cb0dfd42d92b8e058ecd4d9be7b70 (diff) | |
download | mariadb-git-2c005020148ea2d03b9ee3555dd8f04aeaa8fdc2.tar.gz |
my_largepage: reduce includes already in my_global.h
-rw-r--r-- | mysys/my_largepage.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/mysys/my_largepage.c b/mysys/my_largepage.c index 246afa80ee0..b239ed06c77 100644 --- a/mysys/my_largepage.c +++ b/mysys/my_largepage.c @@ -16,11 +16,7 @@ #include "mysys_priv.h" -#ifdef HAVE_SYS_MMAN_H -#include <sys/mman.h> -#endif #ifdef __linux__ -#include <linux/mman.h> #include <dirent.h> #endif #if defined(__linux__) || defined(MAP_ALIGNED) @@ -28,9 +24,6 @@ #endif #ifdef HAVE_SOLARIS_LARGE_PAGES -#ifdef HAVE_SYS_TYPES_H -#include <sys/types.h> -#endif #if defined(__sun__) && defined(__GNUC__) && defined(__cplusplus) \ && defined(_XOPEN_SOURCE) /* memcntl exist within sys/mman.h, but under-defines what is need to use it */ |