9bccdab811
files. Fixes build under Linux, closing PR pkg/29499.
18 lines
445 B
Text
18 lines
445 B
Text
$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
|