$NetBSD: patch-aq,v 1.1 2008/01/23 04:59:37 tnn Exp $ --- nq/source/sys_sdl.c.orig 2004-01-20 03:47:26.000000000 +0000 +++ nq/source/sys_sdl.c @@ -63,6 +63,7 @@ static __attribute__ ((unused)) const ch #include "QF/console.h" #include "QF/qargs.h" #include "QF/sys.h" +#include "QF/progs.h" #include "client.h" #include "compat.h" @@ -107,6 +108,9 @@ shutdown (void) #endif } +extern void Key_Progs_Init (progs_t *pr); +void (*x)() = Key_Progs_Init; + #ifndef SDL_main # define SDL_main main #endif