mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-01-22 16:01:25 +00:00
fix for bsd
This commit is contained in:
parent
4717448bd6
commit
e73ff67bf3
1 changed files with 2 additions and 0 deletions
|
@ -366,6 +366,8 @@ UDP_OpenSocket (int port)
|
|||
#endif
|
||||
int i;
|
||||
|
||||
memset (&address, 0, sizeof(address));
|
||||
|
||||
if ((newsocket = socket (PF_INET, SOCK_DGRAM, IPPROTO_UDP)) == -1)
|
||||
Sys_Error ("UDP_OpenSocket: socket:%s", strerror (errno));
|
||||
if (ioctl (newsocket, FIONBIO, &_true) == -1)
|
||||
|
|
Loading…
Reference in a new issue