diff options
Diffstat (limited to 'ext/Time/HiRes/HiRes.xs')
-rw-r--r-- | ext/Time/HiRes/HiRes.xs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/Time/HiRes/HiRes.xs b/ext/Time/HiRes/HiRes.xs index 4981741430..4f85f3b3f2 100644 --- a/ext/Time/HiRes/HiRes.xs +++ b/ext/Time/HiRes/HiRes.xs @@ -9,6 +9,11 @@ extern "C" { #else #include <sys/time.h> #endif +#ifdef HAS_SELECT +# ifdef I_SYS_SELECT +# include <sys/select.h> +# endif +#endif #ifdef __cplusplus } #endif |