components/bash/patches/solaris-011.input_avail.c.patch
changeset 115 c360825c3a3f
parent 110 77641682ba6f
child 5518 c47fe0edc204
equal deleted inserted replaced
114:6cc95ec7b1bb 115:c360825c3a3f
       
     1 --- lib/sh/input_avail.c	2009-04-19 10:01:14.000000000 -0700
       
     2 +++ lib/sh/input_avail.c	2010-09-01 10:47:30.418016819 -0700
       
     3 @@ -45,6 +45,10 @@
       
     4  #  include <sys/ioctl.h>
       
     5  #endif
       
     6  
       
     7 +#if defined(SOLARIS)
       
     8 +#  include <sys/filio.h> /* Solaris FIONREAD */
       
     9 +#endif
       
    10 +
       
    11  #include <stdio.h>
       
    12  #include <errno.h>
       
    13