fix an anonymous struct error with g++ 4
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 21 Oct 2005 05:30:33 +0000 (05:30 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 21 Oct 2005 05:30:33 +0000 (05:30 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5749 d7cf8633-e32d-0410-b094-e92efae38249

netconn.c

index dea1166..9b1d79f 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -1343,7 +1343,7 @@ void NetConn_ClientFrame(void)
 }
 
 #define MAX_CHALLENGES 128
-struct
+struct challenge_s
 {
        lhnetaddress_t address;
        double time;