diff options
Diffstat (limited to 'source/net_common.c')
-rw-r--r-- | source/net_common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/net_common.c b/source/net_common.c index 2b73591..8714892 100644 --- a/source/net_common.c +++ b/source/net_common.c @@ -1015,6 +1015,9 @@ void NET_Sleep( int msec ) { timeout.tv_sec = msec / 1000; timeout.tv_usec = ( msec % 1000 ) * 1000; FD_ZERO( &fdset ); +#ifdef __unix__ + FD_SET( 0, &fdset ); // stdin +#endif FD_SET( s, &fdset ); select( s + 1, &fdset, NULL, NULL, &timeout ); } |