1 # bash itself needs to include <sys/filio.h> (FIONREAD) on Solaris.
2 # Solaris-specific patch.
4 --- lib/sh/input_avail.c 2009-04-19 10:01:14.000000000 -0700
5 +++ lib/sh/input_avail.c 2010-09-01 10:47:30.418016819 -0700
7 # include <sys/ioctl.h>
11 +# include <sys/filio.h> /* Solaris FIONREAD */