summaryrefslogtreecommitdiff
path: root/games/xracer/patches/patch-ae
blob: d36e901f0f2917555a8b927dca31baf708268728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ae,v 1.4 2005/06/14 19:33:19 jmmv Exp $

--- src/joystick_generic.c.orig	2000-01-02 02:49:04.000000000 +0100
+++ src/joystick_generic.c
@@ -22,8 +22,12 @@
 #include "xracer-joystick.h"
 #include "xracer-log.h"
 
+#ifdef HAVE_STRING_H
+#include <string.h>	/* definition of NULL */
+#endif
+
 /* Joystick device. */
-char *xrJoystickDevice = NULL;
+const char *xrJoystickDevice = NULL;
 
 /* Program-level initializations. */
 void