diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ruby/intern.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index a66848b5b8..3ffb05c933 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -36,6 +36,10 @@ extern "C" { #include <sys/types.h> #endif +#if defined(HAVE_SYS_TIME_H) +#include <sys/time.h> +#endif + #include "ruby/st.h" #if defined __GNUC__ && __GNUC__ >= 4 |