Author: tfaber
Date: Sun Jun 18 17:01:14 2017
New Revision: 75099
URL:
http://svn.reactos.org/svn/reactos?rev=75099&view=rev
Log:
[LIBTIRPC]
- Try to fix VC2010 build as well
CORE-8204
Modified:
trunk/reactos/dll/win32/libtirpc/src/clnt_dg.c
Modified: trunk/reactos/dll/win32/libtirpc/src/clnt_dg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/libtirpc/src/cln…
==============================================================================
--- trunk/reactos/dll/win32/libtirpc/src/clnt_dg.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/libtirpc/src/clnt_dg.c [iso-8859-1] Sun Jun 18 17:01:14 2017
@@ -339,6 +339,9 @@
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 @@
#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);