components/bash/solaris-011.input_avail.c.patch
author Stefan Teleman <stefan.teleman@oracle.com>
Sat, 26 Feb 2011 10:03:27 -0800
changeset 110 77641682ba6f
permissions -rw-r--r--
7015638 bash needs to move to userland

--- lib/sh/input_avail.c	2009-04-19 10:01:14.000000000 -0700
+++ lib/sh/input_avail.c	2010-09-01 10:47:30.418016819 -0700
@@ -45,6 +45,10 @@
 #  include <sys/ioctl.h>
 #endif
 
+#if defined(SOLARIS)
+#  include <sys/filio.h> /* Solaris FIONREAD */
+#endif
+
 #include <stdio.h>
 #include <errno.h>