#endif
#include "joystick.h"
+#include "misc.h"
/*
#include "tools.h"
#ifndef MSDOS
if (read(joystick_device, &joy_ctrl, sizeof(joy_ctrl)) != sizeof(joy_ctrl))
{
- fprintf(stderr,"%s: cannot read joystick settings - no joystick support\n",
- progname);
+ Error(ERR_RETURN, "cannot read joystick settings - no joystick support");
joystick_status = JOYSTICK_OFF;
return(0);
}