mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
perl: add midding #define of __USE_XOPEN to call wcwidth defined in wchar.h
This commit is contained in:
@@ -22,8 +22,17 @@
|
||||
|
||||
#undef _
|
||||
|
||||
#include <locale.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
/* for wcwidth in wchar.h */
|
||||
#ifndef __USE_XOPEN
|
||||
#define __USE_XOPEN
|
||||
#endif
|
||||
#include <wchar.h>
|
||||
|
||||
#include <locale.h>
|
||||
#include <EXTERN.h>
|
||||
#include <perl.h>
|
||||
#include <XSUB.h>
|
||||
|
||||
Reference in New Issue
Block a user