$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 /* definition of NULL */ +#endif + /* Joystick device. */ -char *xrJoystickDevice = NULL; +const char *xrJoystickDevice = NULL; /* Program-level initializations. */ void