From 2171f13ab334716250ca2bc53946806f7a88c8a3 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 5 Aug 2019 10:01:13 +0100 Subject: enable gnu extensions to get strcasestr from string.h --- desktop/treeview.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'desktop') diff --git a/desktop/treeview.c b/desktop/treeview.c index d730e748a..22df7c964 100644 --- a/desktop/treeview.c +++ b/desktop/treeview.c @@ -22,6 +22,8 @@ * Treeview handling implementation. */ +#define _GNU_SOURCE /* strcasestr needs this for string.h */ + #include #include "utils/utils.h" -- cgit v1.2.3