[LIBTIRPC]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 18 Jun 2017 17:01:14 +0000 (17:01 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 18 Jun 2017 17:01:14 +0000 (17:01 +0000)
- Try to fix VC2010 build as well
CORE-8204

svn path=/trunk/; revision=75099

reactos/dll/win32/libtirpc/src/clnt_dg.c

index 92471fb..7f6a3dc 100644 (file)
@@ -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);