author | zihao.zhu@oracle.com <zihao.zhu@oracle.com> |
Mon, 17 Oct 2016 09:22:53 -0700 | |
changeset 7116 | 24e5d18aa27c |
parent 5518 | c47fe0edc204 |
child 7485 | 89b2d849f322 |
permissions | -rw-r--r-- |
# libreadline needs to include <sys/filio.h> (FIONREAD) on Solaris. # Solaris-specific patch. # Not for upstream. --- lib/readline/input.c 2009-04-19 10:12:03.000000000 -0700 +++ lib/readline/input.c 2010-09-01 10:46:23.386144948 -0700 @@ -51,6 +51,10 @@ # include <sys/ioctl.h> #endif +#if defined(SOLARIS) +# include <sys/filio.h> +#endif + #include <stdio.h> #include <errno.h>