diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-12-22 11:11:04 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-12-22 11:11:04 +0000 |
commit | 55ba27c68f1664e8a6a356e45c6c9ce9c7bdded9 (patch) | |
tree | 8ebc778f39292cbc599d15f400b3db2544528dae | |
parent | 3fdbef0566a4310dc2567c101b38e9c1667d883e (diff) | |
download | netsurf-55ba27c68f1664e8a6a356e45c6c9ce9c7bdded9.tar.gz netsurf-55ba27c68f1664e8a6a356e45c6c9ce9c7bdded9.tar.bz2 |
re-order config include so strcasecmp is correctly detected on RISC OS/win32
-rw-r--r-- | content/handlers/html/html_css.c | 3 | ||||
-rw-r--r-- | 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 <assert.h> @@ -30,7 +32,6 @@ #include <strings.h> #include <stdlib.h> -#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 <string.h> -#include "utils/config.h" #include "utils/utils.h" #include "utils/log.h" #include "utils/nsurl.h" |