diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-21 11:41:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-21 11:41:16 +0000 |
commit | d1d737ae5751f07a55c80a6761fa4f126e7d6f1f (patch) | |
tree | 2cdbe89a6cd3106cbf3e341512bb07daaa42708c /gc.c | |
parent | 1a2997b299151e202ca88082161e86ec688d883b (diff) | |
download | ruby-d1d737ae5751f07a55c80a6761fa4f126e7d6f1f.tar.gz |
* gc.c: needs malloc.h if malloc_usable_size() is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -39,6 +39,8 @@ # ifdef _WIN32 # define malloc_usable_size(a) _msize(a) # endif +#else +# include <malloc.h> #endif #if /* is ASAN enabled? */ \ |