diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-08-05 10:01:13 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-08-05 10:01:13 +0100 |
commit | 2171f13ab334716250ca2bc53946806f7a88c8a3 (patch) | |
tree | 26bf25e6d7b7fdeb27ed75700f72f28b1df81d23 /desktop | |
parent | 936cb3ce0c746011af67c2b4f0e6df5070c9d9e6 (diff) | |
download | netsurf-2171f13ab334716250ca2bc53946806f7a88c8a3.tar.gz netsurf-2171f13ab334716250ca2bc53946806f7a88c8a3.tar.bz2 |
enable gnu extensions to get strcasestr from string.h
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/treeview.c | 2 |
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" |