From 32d14fbc5548b71c556152ddff50c7d1db52008a Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 18 Jun 2017 17:01:14 +0000 Subject: [PATCH] [LIBTIRPC] - Try to fix VC2010 build as well CORE-8204 svn path=/trunk/; revision=75099 --- reactos/dll/win32/libtirpc/src/clnt_dg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/dll/win32/libtirpc/src/clnt_dg.c b/reactos/dll/win32/libtirpc/src/clnt_dg.c index 92471fb4731..7f6a3dca3d1 100644 --- a/reactos/dll/win32/libtirpc/src/clnt_dg.c +++ b/reactos/dll/win32/libtirpc/src/clnt_dg.c @@ -339,6 +339,9 @@ clnt_dg_call(cl, proc, xargs, argsp, xresults, resultsp, utimeout) ssize_t recvlen = 0; int rpc_lock_value; u_int32_t xid, inval, outval; +#ifdef __REACTOS__ + fd_set infd; +#endif outlen = 0; #ifndef _WIN32 @@ -445,9 +448,6 @@ get_reply: #error Not supported! #endif /* ReactOS: use select instead of poll */ - fd_set infd; - struct timeval timeout; - FD_ZERO(&infd); FD_SET(cu->cu_fd, &infd);