$NetBSD: patch-ac,v 1.6 2007/06/17 07:42:48 wiz Exp $ --- ui.h.orig 2000-06-29 01:06:05.000000000 +0000 +++ ui.h @@ -37,7 +37,7 @@ extern shutdown_t dn_shutdown; struct joypad_button_template { int num_buttons; - unsigned long buttons[0]; + unsigned long buttons[20]; /* shouldn't need more than that */ }; struct joypad {