summaryrefslogtreecommitdiff
path: root/include/ruby/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/io.h')
-rw-r--r--include/ruby/io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ruby/io.h b/include/ruby/io.h
index f341befefe..b5ea2e9c95 100644
--- a/include/ruby/io.h
+++ b/include/ruby/io.h
@@ -37,6 +37,8 @@ extern "C" {
# ifdef _AIX
# undef reqevents
# undef rtnevents
+# undef events
+# undef revents
# endif
# define RB_WAITFD_IN POLLIN
# define RB_WAITFD_PRI POLLPRI