diff --git a/content/handlers/html/css.c b/content/handlers/html/css.c
index d7c9b3c41..2434b1783 100644
--- a/content/handlers/html/css.c
+++ b/content/handlers/html/css.c
@@ -23,8 +23,6 @@
#include "utils/config.h"
-#define _GNU_SOURCE /* strcasestr needs this for string.h */
-
#include
#include
#include
diff --git a/desktop/treeview.c b/desktop/treeview.c
index e8aed776d..48a031612 100644
--- a/desktop/treeview.c
+++ b/desktop/treeview.c
@@ -24,7 +24,6 @@
#include "utils/config.h"
-#define _GNU_SOURCE /* strcasestr needs this for string.h */
#include
#include "utils/utils.h"