From d61cb77346708754ec0b4625c79841d45f01fff3 Mon Sep 17 00:00:00 2001 From: crimsonwoods Date: Sun, 22 Jul 2012 23:10:15 +0900 Subject: fix: SIZE_MAX is not defined in "stdint.h" --- src/gc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/gc.c b/src/gc.c index 3c00bb015..819fb94c6 100644 --- a/src/gc.c +++ b/src/gc.c @@ -17,6 +17,10 @@ #include "mruby/data.h" #include "mruby/variable.h" +#ifndef SIZE_MAX +#include // for SIZE_MAX +#endif + /* = Tri-color Incremental Garbage Collection -- cgit v1.2.3