summaryrefslogtreecommitdiff
path: root/games/bzflag/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'games/bzflag/patches/patch-ak')
-rw-r--r--games/bzflag/patches/patch-ak17
1 files changed, 17 insertions, 0 deletions
diff --git a/games/bzflag/patches/patch-ak b/games/bzflag/patches/patch-ak
new file mode 100644
index 00000000000..5c10b06e919
--- /dev/null
+++ b/games/bzflag/patches/patch-ak
@@ -0,0 +1,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>