summaryrefslogtreecommitdiff
path: root/ext/-test-/time/leap_second.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-09 17:53:45 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-09 19:25:18 +0900
commitb8f7e8ac6bd177bf25bc9fa057bcb784682e0227 (patch)
treeaafe878905cec23e804389150def16ebe89b2e16 /ext/-test-/time/leap_second.c
parent5e633fb99e477eb204a94e272c5759f07b6e4732 (diff)
Include ruby.h before internal headers to suppress -Wundef warnings
Diffstat (limited to 'ext/-test-/time/leap_second.c')
-rw-r--r--ext/-test-/time/leap_second.c1
1 files changed, 1 insertions, 0 deletions
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