From 220bc61c21380bd7cb454d46020f21da1fda6a72 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 26 Aug 2008 20:40:57 +0200 Subject: [PATCH] Include sys/filio.h to get the FIONREAD definition on Solaris. --- dlls/ntdll/file.c | 3 +++ dlls/winhttp/net.c | 3 +++ dlls/wininet/netconnection.c | 3 +++ 3 files changed, 9 insertions(+) diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index d7f5b938efd..57460234a9e 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -45,6 +45,9 @@ #ifdef HAVE_SYS_IOCTL_H #include #endif +#ifdef HAVE_SYS_FILIO_H +# include +#endif #ifdef HAVE_POLL_H #include #endif diff --git a/dlls/winhttp/net.c b/dlls/winhttp/net.c index a788b018a05..54ceb1c13cb 100644 --- a/dlls/winhttp/net.c +++ b/dlls/winhttp/net.c @@ -31,6 +31,9 @@ #ifdef HAVE_SYS_IOCTL_H # include #endif +#ifdef HAVE_SYS_FILIO_H +# include +#endif #ifdef HAVE_POLL_H # include #endif diff --git a/dlls/wininet/netconnection.c b/dlls/wininet/netconnection.c index 7f6fed7c3b3..77f39bbf625 100644 --- a/dlls/wininet/netconnection.c +++ b/dlls/wininet/netconnection.c @@ -37,6 +37,9 @@ #ifdef HAVE_SYS_SOCKET_H # include #endif +#ifdef HAVE_SYS_FILIO_H +# include +#endif #ifdef HAVE_UNISTD_H # include #endif -- 2.11.4.GIT