re-order config include so strcasecmp is correctly detected on RISC OS/win32

This commit is contained in:
Vincent Sanders 2019-12-22 11:11:04 +00:00
parent 3fdbef0566
commit 55ba27c68f
2 changed files with 4 additions and 3 deletions

View File

@ -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"

View File

@ -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"