summaryrefslogtreecommitdiff
path: root/desktop/treeview.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-08-05 10:01:13 +0100
committerVincent Sanders <vince@kyllikki.org>2019-08-05 10:01:13 +0100
commit2171f13ab334716250ca2bc53946806f7a88c8a3 (patch)
tree26bf25e6d7b7fdeb27ed75700f72f28b1df81d23 /desktop/treeview.c
parent936cb3ce0c746011af67c2b4f0e6df5070c9d9e6 (diff)
downloadnetsurf-2171f13ab334716250ca2bc53946806f7a88c8a3.tar.gz
netsurf-2171f13ab334716250ca2bc53946806f7a88c8a3.tar.bz2
enable gnu extensions to get strcasestr from string.h
Diffstat (limited to 'desktop/treeview.c')
-rw-r--r--desktop/treeview.c2
1 files changed, 2 insertions, 0 deletions
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 <string.h>
#include "utils/utils.h"