From b8f7e8ac6bd177bf25bc9fa057bcb784682e0227 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 9 Aug 2021 17:53:45 +0900 Subject: [PATCH] Include ruby.h before internal headers to suppress -Wundef warnings --- ext/-test-/time/leap_second.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/-test-/time/leap_second.c b/ext/-test-/time/leap_second.c index ccf38194f0..ee7011fa97 100644 --- a/ext/-test-/time/leap_second.c +++ b/ext/-test-/time/leap_second.c @@ -1,3 +1,4 @@ +#include "ruby.h" #include "internal/time.h" static VALUE