pkgsrc/games/quake6/patches/patch-ae

23 lines
420 B
Text

$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;