X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/8813170390f3c3a0f4743afbc92ede42953fa3b0..a61871a18ffa9fc28e7ab0950415404350c8c857:/ui-repolist.c diff --git a/ui-repolist.c b/ui-repolist.c index aa743bf..2c13d50 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -6,6 +6,10 @@ * (see COPYING for full license text) */ +/* This is needed for strcasestr to be defined by */ +#define _GNU_SOURCE 1 +#include + #include #include "cgit.h" @@ -253,7 +257,7 @@ void cgit_print_repolist() html(""); cgit_summary_link("summary", NULL, "button", NULL); cgit_log_link("log", NULL, "button", NULL, NULL, NULL, - 0, NULL, NULL); + 0, NULL, NULL, ctx.qry.showmsg); cgit_tree_link("tree", NULL, "button", NULL, NULL, NULL); html(""); }