]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-repolist.c
Merge branch 'lh/sort-repolist'
[ps-cgit] / ui-repolist.c
index aa743bf7885ab683e1b1e1b668d73d2477d7dd71..87196f048548e4c0627b62c67811a102dbc939b6 100644 (file)
@@ -6,6 +6,10 @@
  *   (see COPYING for full license text)
  */
 
+/* This is needed for strcasestr to be defined by <string.h> */
+#define _GNU_SOURCE 1
+#include <string.h>
+
 #include <time.h>
 
 #include "cgit.h"