1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Compensate for glibc not defining wcwidth() when _XOPEN_SOURCE is not set

This commit is contained in:
Petr Baudis 2006-10-12 23:43:49 +02:00 committed by Petr Baudis
parent 647db326fb
commit 71eebf1cc7

View File

@ -1,5 +1,12 @@
/* Charsets convertor */
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE /* wcwidth() */
#endif
#ifndef _GNU_SOURCE
#define _GNU_SOURCE /* strcasecmp() */
#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif