From 147ea0d6d716c9002aa329878f39767d96e1f0fb Mon Sep 17 00:00:00 2001 From: Leon Scroggins III Date: Tue, 14 Mar 2017 17:31:06 -0400 Subject: Include for SIZE_MAX DO NOT MERGE Bug:34697653 Test: compile Though typically defined in stdint.h, Android defines SIZE_MAX in limits.h. Change-Id: I0f6fb89d9eb55406073d6b25e599bb2745253865 --- openbsd-reallocarray.c | 1 + 1 file changed, 1 insertion(+) diff --git a/openbsd-reallocarray.c b/openbsd-reallocarray.c index aa70686..41a3326 100644 --- a/openbsd-reallocarray.c +++ b/openbsd-reallocarray.c @@ -19,6 +19,7 @@ #include #include #include +#include /* * This is sqrt(SIZE_MAX+1), as s1*s2 <= SIZE_MAX -- cgit v1.2.3