We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96d4b22 commit 2c00502Copy full SHA for 2c00502
mysys/my_largepage.c
@@ -16,21 +16,14 @@
16
17
#include "mysys_priv.h"
18
19
-#ifdef HAVE_SYS_MMAN_H
20
-#include <sys/mman.h>
21
-#endif
22
#ifdef __linux__
23
-#include <linux/mman.h>
24
#include <dirent.h>
25
#endif
26
#if defined(__linux__) || defined(MAP_ALIGNED)
27
#include "my_bit.h"
28
29
30
#ifdef HAVE_SOLARIS_LARGE_PAGES
31
-#ifdef HAVE_SYS_TYPES_H
32
-#include <sys/types.h>
33
34
#if defined(__sun__) && defined(__GNUC__) && defined(__cplusplus) \
35
&& defined(_XOPEN_SOURCE)
36
/* memcntl exist within sys/mman.h, but under-defines what is need to use it */
0 commit comments