enable gnu extensions to get strcasestr from string.h

This commit is contained in:
Vincent Sanders 2019-08-05 10:01:13 +01:00
parent 936cb3ce0c
commit 2171f13ab3
2 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,8 @@
* Processing for html content css operations.
*/
#define _GNU_SOURCE /* strcasestr needs this for string.h */
#include <assert.h>
#include <ctype.h>
#include <stdint.h>

View File

@ -22,6 +22,8 @@
* Treeview handling implementation.
*/
#define _GNU_SOURCE /* strcasestr needs this for string.h */
#include <string.h>
#include "utils/utils.h"