summaryrefslogtreecommitdiff
path: root/games/quake6/patches/patch-ae
blob: bc26b9adbe8bf38d4d3b4f4b68f80584f76296e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ae,v 1.1 2002/01/10 16:43:28 skrll Exp $

--- qw_common/net.h.orig	Wed Jan 12 03:03:44 2000
+++ qw_common/net.h
@@ -25,16 +25,14 @@
 
 #define	PORT_ANY	-1
 
-#ifdef AF_INET6
 typedef struct
 {
-	unsigned int	ip[4];
+#ifdef AF_INET6
+	u_int32_t	ip[4];
 	unsigned char	family;
 	unsigned short	port;
 	unsigned short	pad;
 #else
-typedef struct
-{
 	byte	ip[4];
 	unsigned short	port;
 	unsigned short	pad;