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 /content | |
parent | 936cb3ce0c746011af67c2b4f0e6df5070c9d9e6 (diff) | |
download | netsurf-2171f13ab334716250ca2bc53946806f7a88c8a3.tar.gz netsurf-2171f13ab334716250ca2bc53946806f7a88c8a3.tar.bz2 |
enable gnu extensions to get strcasestr from string.h
Diffstat (limited to 'content')
-rw-r--r-- | content/handlers/html/html_css.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/handlers/html/html_css.c b/content/handlers/html/html_css.c index f65c2559c..70ed83f3d 100644 --- a/content/handlers/html/html_css.c +++ b/content/handlers/html/html_css.c @@ -21,6 +21,8 @@ * Processing for html content css operations. */ +#define _GNU_SOURCE /* strcasestr needs this for string.h */ + #include <assert.h> #include <ctype.h> #include <stdint.h> |