summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/handlers/html/html_css.c2
-rw-r--r--desktop/treeview.c2
2 files changed, 4 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>
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"