From 55ba27c68f1664e8a6a356e45c6c9ce9c7bdded9 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 22 Dec 2019 11:11:04 +0000 Subject: [PATCH] re-order config include so strcasecmp is correctly detected on RISC OS/win32 --- content/handlers/html/html_css.c | 3 ++- desktop/treeview.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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"