diff options
-rw-r--r-- | ext/io/console/console.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c index 17fee11672..7c5a963767 100644 --- a/ext/io/console/console.c +++ b/ext/io/console/console.c @@ -14,6 +14,9 @@ #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> #endif +#ifndef RARRAY_CONST_PTR +# define RARRAY_CONST_PTR(ary) RARRAY_PTR(ary) +#endif #if defined HAVE_TERMIOS_H # include <termios.h> |