Files
pkgsrc-ng/games/xracer/patches/patch-ae
2013-09-26 17:14:40 +02:00

19 lines
445 B
Plaintext

$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