Win32 console needs SYNCHRONIZE access.

diff --git a/win32/console.c b/win32/console.c
index 0328d43..0df9596 100644
--- a/win32/console.c
+++ b/win32/console.c
@@ -680,7 +680,7 @@
         }
 
         req.output = 0;
-        req.access = GENERIC_READ | GENERIC_WRITE;
+        req.access = GENERIC_READ | GENERIC_WRITE | SYNCHRONIZE;
         req.inherit = FALSE;
         CLIENT_SendRequest( REQ_OPEN_CONSOLE, -1, 1, &req, sizeof(req) );
         if (CLIENT_WaitSimpleReply( &reply, sizeof(reply), NULL ) != ERROR_SUCCESS)