$NetBSD: patch-aa,v 1.2 2009/12/15 16:34:53 joerg Exp $ --- libguile/guile.c.orig 2002-12-07 14:41:32.000000000 -0800 +++ libguile/guile.c @@ -60,6 +60,8 @@ #include #endif +#include + /* Debugger interface (don't change the order of the following lines) */ #define GDB_TYPE SCM #include @@ -88,7 +90,7 @@ main (int argc, char **argv) { #ifdef DYNAMIC_LINKING /* libtool automagically inserts this variable into your executable... */ - extern const scm_lt_dlsymlist lt_preloaded_symbols[]; + extern const scm_lt_dlsymlist *lt_preloaded_symbols; scm_lt_dlpreload_default (lt_preloaded_symbols); #endif scm_boot_guile (argc, argv, inner_main, 0);