summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-04-30 18:29:36 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2020-04-30 18:29:36 +0200
commit15db581ecb871efedeb83a10c2edbbbb6e8da784 (patch)
tree7da20f560367914e0f3077703f3bf5e8acc7849b
parent6cb208107e6f3225ee6f0572a49a558c54a3bbe9 (diff)
downloadmariadb-git-15db581ecb871efedeb83a10c2edbbbb6e8da784.tar.gz
5.6.47-87.0
-rw-r--r--storage/tokudb/PerconaFT/portability/portability.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/tokudb/PerconaFT/portability/portability.cc b/storage/tokudb/PerconaFT/portability/portability.cc
index 10f1a7fd420..d6b78b0a156 100644
--- a/storage/tokudb/PerconaFT/portability/portability.cc
+++ b/storage/tokudb/PerconaFT/portability/portability.cc
@@ -60,7 +60,7 @@ Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
#if defined(HAVE_SYS_SYSCALL_H)
# include <sys/syscall.h>
#endif
-#if defined(HAVE_SYS_SYSCTL_H)
+#if defined(HAVE_SYS_SYSCTL_H) && !defined(_SC_PHYS_PAGES)
# include <sys/sysctl.h>
#endif
#if defined(HAVE_PTHREAD_NP_H)