summaryrefslogtreecommitdiff
path: root/games/bzflag/patches/patch-ak
blob: 5c10b06e9191d5c28e8c4e0a801b1db0b3b5d1ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ak,v 1.1.1.1 2002/09/24 12:49:13 blymn Exp $

--- src/bzfrelay/bzfrelay.c.orig	Sun Sep 22 22:41:45 2002
+++ src/bzfrelay/bzfrelay.c
@@ -16,6 +16,12 @@
  * note that this program does not depend on any other bzflag files.
  */
 
+#ifdef __NetBSD__
+typedef unsigned long u_long;
+typedef unsigned short u_short;
+#define O_NDELAY        O_NONBLOCK      /* compat */
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>