aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalvin Buckley <[email protected]>2019-01-25 08:01:07 -0500
committerCalvin <[email protected]>2019-05-29 06:21:41 -0400
commit3ca08f6d5732389af6bc48446be4b5b0f244d749 (patch)
tree931bc68b2a4bb59faec920178fe9da03dfcd1c87
parentd8b4e8f55c4ada9f2fe1b6088126e8d3e6c7147b (diff)
downloadotp-3ca08f6d5732389af6bc48446be4b5b0f244d749.tar.gz
otp-3ca08f6d5732389af6bc48446be4b5b0f244d749.tar.bz2
otp-3ca08f6d5732389af6bc48446be4b5b0f244d749.zip
AIX needs this for mallopt too
-rw-r--r--erts/emulator/beam/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/utils.c b/erts/emulator/beam/utils.c
index 88cdcc2675..d9539cc56b 100644
--- a/erts/emulator/beam/utils.c
+++ b/erts/emulator/beam/utils.c
@@ -66,7 +66,7 @@
#undef M_MMAP_THRESHOLD
#undef M_MMAP_MAX
-#if defined(__GLIBC__) && defined(HAVE_MALLOC_H)
+#if (defined(__GLIBC__) || defined(_AIX)) && defined(HAVE_MALLOC_H)
#include <malloc.h>
#endif