diff options
author | Wade Berrier <wade@mono-cvs.ximian.com> | 2006-04-29 02:11:12 +0400 |
---|---|---|
committer | Wade Berrier <wade@mono-cvs.ximian.com> | 2006-04-29 02:11:12 +0400 |
commit | 6c9200a7b816b195573ad993c470f860e1bf4fe4 (patch) | |
tree | 7e1ce121c78b455ff72e048d64868c75d41a546d /support | |
parent | 127eaf7af6afff8b88a05d3c69cb62081bc3ea3f (diff) |
serial.c: Add sys/filio.h for solaris for FIONREAD
svn path=/trunk/mono/; revision=60062
Diffstat (limited to 'support')
-rw-r--r-- | support/ChangeLog | 4 | ||||
-rw-r--r-- | support/serial.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/support/ChangeLog b/support/ChangeLog index 876f3dfbf27..03e55b81eaa 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,3 +1,7 @@ +2006-04-28 Wade Berrier <wberrier@novell.com> + + * serial.c: Add sys/filio.h for solaris for FIONREAD + 2006-04-20 Geoff Norton <gnorton@customerdna.com> * serial.c: Change TIOCINQ to FIONREAD to diff --git a/support/serial.c b/support/serial.c index dacd5979c58..9934bce08c7 100644 --- a/support/serial.c +++ b/support/serial.c @@ -14,6 +14,11 @@ #include <glib.h> +/* This is for FIONREAD on solaris */ +#if defined(sun) +#include <sys/filio.h> +#endif + /* This is a copy of System.IO.Ports.Handshake */ typedef enum { NoneHandshake = 0, |