From: John Hodge (sonata) Date: Mon, 10 Mar 2014 23:52:42 +0000 (+0800) Subject: Usermode/Telnet - Use _SysSelect instead of select (removes libposix requirement) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=8e77b7c2bd3809310bcd445de9fa73582c603ea2;p=tpg%2Facess2.git Usermode/Telnet - Use _SysSelect instead of select (removes libposix requirement) --- diff --git a/Usermode/Applications/telnet_src/main.c b/Usermode/Applications/telnet_src/main.c index 2658548e..56cffb4e 100644 --- a/Usermode/Applications/telnet_src/main.c +++ b/Usermode/Applications/telnet_src/main.c @@ -54,7 +54,7 @@ int main(int argc, char *argv[], char *envp[]) FD_SET(server_fd, &fds); FD_SET(server_fd, &err_fds); // Wait for data (no timeout) - rv = select(server_fd+1, &fds, NULL, &err_fds, NULL); + rv = _SysSelect(server_fd+1, &fds, NULL, &err_fds, NULL, 0); if( rv < 0 ) break; // Check for remote data avaliable