--- links-2.1pre15/default.c.orig 2004-04-17 23:35:56.000000000 +0200 +++ links-2.1pre15/default.c 2004-04-17 23:53:43.466392248 +0200 @@ -783,7 +783,7 @@ add_to_str(s, l, " "); add_quoted_to_str(s, l, (dp->param) ? (dp->param) : (unsigned char*)""); add_to_str(s, l, " "); - add_quoted_to_str(s, l, dp->shell); + add_quoted_to_str(s, l, (dp->shell) ? (dp->shell) : (unsigned char*)""); add_to_str(s, l, " "); add_to_str(s, l, get_cp_mime_name(dp->codepage)); } --- links-2.1pre17/links.h.orig 2005-02-24 17:17:58.000000000 +0100 +++ links-2.1pre17/links.h 2005-05-10 01:58:37.000000000 +0200 @@ -38,6 +38,7 @@ #include "cfg.h" #include "os_dep.h" +#include #include #include #include