On Wed, 22 Nov 2023 02:06:29 GMT, Hao Sun <hao...@openjdk.org> wrote:
> The fix is trivial. We should include the standard C header `stdlib.h` [1], > rather than non-standard one `malloc.h`. > > [1] https://en.cppreference.com/w/c/memory/malloc This pull request has now been integrated. Changeset: b3616c9a Author: Hao Sun <hao...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/b3616c9ac09a29824441dea4588ce53fa443067d Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 mod 8320131: Zero build fails on macOS after JDK-8254693 Reviewed-by: dholmes, jvernee ------------- PR: https://git.openjdk.org/jdk/pull/16775