gnuplot: update to 6.0.2
[oi-userland.git] / components / shell / bash / patches / solaris-011.input_avail.c.patch
blob10d0ae2f12643768774a9c1d33ac516204f90d5b
1 # bash itself needs to include <sys/filio.h> (FIONREAD) on Solaris.
2 # Solaris-specific patch.
3 # Not for upstream.
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
6 @@ -45,6 +45,10 @@
7 # include <sys/ioctl.h>
8 #endif
10 +#if defined(SOLARIS)
11 +# include <sys/filio.h> /* Solaris FIONREAD */
12 +#endif
14 #include <stdio.h>
15 #include <errno.h>