Module: wine Branch: master Commit: 220bc61c21380bd7cb454d46020f21da1fda6a72 URL: http://source.winehq.org/git/wine.git/?a=commit;h=220bc61c21380bd7cb454d4602...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Aug 26 20:40:57 2008 +0200
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(+), 0 deletions(-)
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index d7f5b93..5746023 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -45,6 +45,9 @@ #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> #endif +#ifdef HAVE_SYS_FILIO_H +# include <sys/filio.h> +#endif #ifdef HAVE_POLL_H #include <poll.h> #endif diff --git a/dlls/winhttp/net.c b/dlls/winhttp/net.c index a788b01..54ceb1c 100644 --- a/dlls/winhttp/net.c +++ b/dlls/winhttp/net.c @@ -31,6 +31,9 @@ #ifdef HAVE_SYS_IOCTL_H # include <sys/ioctl.h> #endif +#ifdef HAVE_SYS_FILIO_H +# include <sys/filio.h> +#endif #ifdef HAVE_POLL_H # include <poll.h> #endif diff --git a/dlls/wininet/netconnection.c b/dlls/wininet/netconnection.c index 7f6fed7..77f39bb 100644 --- a/dlls/wininet/netconnection.c +++ b/dlls/wininet/netconnection.c @@ -37,6 +37,9 @@ #ifdef HAVE_SYS_SOCKET_H # include <sys/socket.h> #endif +#ifdef HAVE_SYS_FILIO_H +# include <sys/filio.h> +#endif #ifdef HAVE_UNISTD_H # include <unistd.h> #endif