aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Arato <it.arato@gmail.com>2023-06-14 12:50:40 -0400
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-06-17 15:48:03 +0900
commitb943e9c7b9d9cc8ba4bbf043414ab1ed4e1a8b5f (patch)
treedd41fa7308b61d8edc1f08ea44209ecab0fcf04c /include
parentba0bcc52039a40d2a013de4e05c9fbc62e4f4be2 (diff)
downloadruby-b943e9c7b9d9cc8ba4bbf043414ab1ed4e1a8b5f.tar.gz
Fixes [Bug #19732]. Add missing stdint.h header to event.h.
Diffstat (limited to 'include')
-rw-r--r--include/ruby/internal/event.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ruby/internal/event.h b/include/ruby/internal/event.h
index 04b137a193..aeedc6ad1f 100644
--- a/include/ruby/internal/event.h
+++ b/include/ruby/internal/event.h
@@ -23,6 +23,10 @@
#include "ruby/internal/dllexport.h"
#include "ruby/internal/value.h"
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
/* These macros are not enums because they are wider than int.*/
/**