1
0
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:
Laurent MONIN 2006-11-06 15:27:54 +01:00 committed by Laurent MONIN
parent f33d9b004d
commit 7585eedd2e

View File

@ -1,5 +1,9 @@
/* Functionality for handling mime types */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* XXX: we _WANT_ strcasestr() ! */
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif