diff --git a/content/handlers/html/html_css.c b/content/handlers/html/html_css.c
index 5d9987d5a..23d51f1be 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.
*/
+#include "utils/config.h"
+
#define _GNU_SOURCE /* strcasestr needs this for string.h */
#include
@@ -30,7 +32,6 @@
#include
#include
-#include "utils/config.h"
#include "utils/nsoption.h"
#include "utils/corestrings.h"
#include "utils/log.h"
diff --git a/desktop/treeview.c b/desktop/treeview.c
index e8b4a14c8..cb4ca80e7 100644
--- a/desktop/treeview.c
+++ b/desktop/treeview.c
@@ -22,11 +22,11 @@
* Treeview handling implementation.
*/
-#define _GNU_SOURCE /* strcasestr needs this for string.h */
+#include "utils/config.h"
+#define _GNU_SOURCE /* strcasestr needs this for string.h */
#include
-#include "utils/config.h"
#include "utils/utils.h"
#include "utils/log.h"
#include "utils/nsurl.h"