ruby-changes:64916
From: Nobuyoshi <ko1@a...>
Date: Sun, 17 Jan 2021 18:30:21 +0900 (JST)
Subject: [ruby-changes:64916] e033c9d7db (master): Include missing AvailabilityMacros.h
https://git.ruby-lang.org/ruby.git/commit/?id=e033c9d7db From e033c9d7db02a4e8d2973364ecb47744b63aecd3 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 17 Jan 2021 18:28:20 +0900 Subject: Include missing AvailabilityMacros.h diff --git a/random.c b/random.c index 4b5965f..28b7a9f 100644 --- a/random.c +++ b/random.c @@ -55,6 +55,10 @@ https://github.com/ruby/ruby/blob/trunk/random.c#L55 # include <linux/random.h> #endif +#if defined __APPLE__ +# include <AvailabilityMacros.h> +#endif + #include "internal.h" #include "internal/array.h" #include "internal/compilers.h" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/