mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
flac/utils: Add missing define
wcswidth needs _XOPEN_SOURCE defined. Otherwise, no declaration.
This commit is contained in:
committed by
Erik de Castro Lopo
parent
66dd7f05d7
commit
cc6ca9a6ec
@@ -31,6 +31,9 @@
|
||||
#include "FLAC/metadata.h"
|
||||
#include "share/compat.h"
|
||||
#ifndef _WIN32
|
||||
#ifndef _XOPEN_SOURCE
|
||||
#define _XOPEN_SOURCE
|
||||
#endif
|
||||
#include <wchar.h>
|
||||
#ifdef HAVE_TERMIOS_H
|
||||
# include <termios.h>
|
||||
|
||||
Reference in New Issue
Block a user