It compiles now, wow, talk about dusty.

This commit is contained in:
Zephaniah E. Hull 2001-02-17 14:11:08 +00:00
parent 1c6769bcf2
commit fb1a132fe4
2 changed files with 2 additions and 1 deletions

View file

@ -259,7 +259,7 @@ int UDP_CheckNewConnections (void)
Sys_Error ("UDP: ioctlsocket (FIONREAD) failed\n"); Sys_Error ("UDP: ioctlsocket (FIONREAD) failed\n");
if (available) if (available)
return net_acceptsocket; return net_acceptsocket;
recvfrom (net_acceptsocket, buff, 0, 0, &from, &fromlen); recvfrom (net_acceptsocket, buff, 0, 0, (struct sockaddr *) &from, &fromlen);
return -1; return -1;
} }

View file

@ -41,6 +41,7 @@
#include <sys/mman.h> #include <sys/mman.h>
#include <signal.h> #include <signal.h>
#include <string.h> #include <string.h>
#include <time.h>
#include "sys.h" #include "sys.h"
#include "qargs.h" #include "qargs.h"