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 +#endif + /* These macros are not enums because they are wider than int.*/ /**