diff options
| author | jsorg71 <jsorg71> | 2004-09-30 02:58:09 +0000 |
|---|---|---|
| committer | jsorg71 <jsorg71> | 2004-09-30 02:58:09 +0000 |
| commit | 5d8d552ebab10176880163dc6453a28a6fb7c6bd (patch) | |
| tree | 8a5ee721b5bd1574f1716fef52101e004251e5f7 /xrdp/os_calls.c | |
| parent | 8a0a25f9c2b498e47996f0ec403320d46a0b751b (diff) | |
| download | xrdp-proprietary-5d8d552ebab10176880163dc6453a28a6fb7c6bd.tar.gz xrdp-proprietary-5d8d552ebab10176880163dc6453a28a6fb7c6bd.zip | |
IRIX compile changes
Diffstat (limited to 'xrdp/os_calls.c')
| -rw-r--r-- | xrdp/os_calls.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xrdp/os_calls.c b/xrdp/os_calls.c index 05e05dac..66cd4f2e 100644 --- a/xrdp/os_calls.c +++ b/xrdp/os_calls.c @@ -32,6 +32,7 @@ #include <netinet/tcp.h> #include <sys/types.h> #include <sys/socket.h> +#include <sys/time.h> #include <openssl/rc4.h> #include <openssl/md5.h> #include <openssl/sha.h> @@ -258,11 +259,11 @@ int g_tcp_listen(int sck) int g_tcp_accept(int sck) { struct sockaddr_in s; - int i; + unsigned int i; i = sizeof(struct sockaddr_in); memset(&s, 0, i); - return accept(sck, (struct sockaddr*)&s, (socklen_t*)&i); + return accept(sck, (struct sockaddr*)&s, &i); } /*****************************************************************************/ |
