1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

Compilation fix: _GNU_SOURCE has to be defined on GNU platforms to get

strcasestr().

[ From commit 7585eedd2e2a0624bf1d3ddf3683425e69cb5a5d in ELinks
  0.12.GIT.  --KON ]
This commit is contained in:
Laurent MONIN 2006-11-06 15:27:54 +01:00 committed by Kalle Olavi Niemitalo
parent a822daef26
commit a3fb7f097c

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