summaryrefslogtreecommitdiff
path: root/games/nighthawk/patches/patch-bc
blob: bb53cafc3b764575adf3b1bdf26072c2c9b629d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-bc,v 1.2 2003/11/09 11:17:53 kleink Exp $

--- src/object.cc.orig	1998-05-14 14:06:35.000000000 +0200
+++ src/object.cc	2003-11-09 12:13:13.000000000 +0100
@@ -14,6 +14,8 @@
 extern "C" {
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
+#include <strings.h>
 #include <math.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
@@ -364,7 +366,7 @@
 
 void tlaser::colision(float cx,float cy)
 {
-  register status = 0;
+  register int status = 0;
 //test other
   if(colision_other(cx,cy))
   {