From 81ac48eaf0cc7b64f17c4b3f2de5cc7769639911 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 8 Jan 2001 17:52:20 +0000 Subject: [PATCH] fix for *nix --- source/net_udp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net_udp.c b/source/net_udp.c index c5de8aa..0813d86 100644 --- a/source/net_udp.c +++ b/source/net_udp.c @@ -97,11 +97,12 @@ netadr_t net_from; sizebuf_t net_message; int net_socket; +extern qboolean is_server; + #define MAX_UDP_PACKET (MAX_MSGLEN*2) byte net_message_buffer[MAX_UDP_PACKET]; #ifdef _WIN32 -extern qboolean is_server; WSADATA winsockdata; #endif @@ -249,7 +250,6 @@ NET_GetPacket (void) int ret; struct sockaddr_in from; socklen_t fromlen; - int i; fromlen = sizeof (from); ret =