From 6cf8f05fd9deb900a78898576b85753e09feddaa Mon Sep 17 00:00:00 2001 From: Sergey Vojtovich Date: Wed, 8 Apr 2020 15:31:57 +0400 Subject: [PATCH] Fixed centos 6 build failure --- include/my_sys.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/my_sys.h b/include/my_sys.h index 597fabd5003..639429e9c26 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -982,6 +982,7 @@ extern ulonglong my_getcputime(void); /* Compatibility with pre linux 3.8 distributions */ #ifdef __linux__ #define MAP_HUGE_SHIFT 26 +#define MAP_HUGETLB 0x40000 #endif #ifdef HAVE_MMAP64