components/bash/patches/solaris-011.input_avail.c.patch
author Rich Burridge <rich.burridge@oracle.com>
Wed, 27 Jan 2016 10:09:20 -0800
changeset 5352 df85cc0b38e1
parent 115 c360825c3a3f
child 5518 c47fe0edc204
permissions -rw-r--r--
22353496 libconfuse does not deliver 64-bit pkg-config file

--- 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>