mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Compilation fix: _GNU_SOURCE has to be defined on GNU platforms to get
strcasestr().
This commit is contained in:
parent
f33d9b004d
commit
7585eedd2e
@ -1,5 +1,9 @@
|
|||||||
/* Functionality for handling mime types */
|
/* Functionality for handling mime types */
|
||||||
|
|
||||||
|
#ifndef _GNU_SOURCE
|
||||||
|
#define _GNU_SOURCE /* XXX: we _WANT_ strcasestr() ! */
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user