summaryrefslogtreecommitdiff
path: root/ext/io/wait/wait.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/io/wait/wait.c')
-rw-r--r--ext/io/wait/wait.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/io/wait/wait.c b/ext/io/wait/wait.c
index 53d5bd7d182..417841a8a18 100644
--- a/ext/io/wait/wait.c
+++ b/ext/io/wait/wait.c
@@ -14,6 +14,7 @@
#include "ruby.h"
#include "rubyio.h"
+#include <sys/time.h>
#include <sys/types.h>
#include FIONREAD_HEADER