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

fix dist compilation failure

remove illegal wcwidth.c include and compile wcwidth.c
correct #include in wcwidth.c
fallout from #480
This commit is contained in:
ailin-nemui 2016-05-18 15:42:09 +02:00
parent 36beddc64f
commit 02221eae37
3 changed files with 4 additions and 2 deletions

View File

@ -45,6 +45,7 @@ libcore_a_SOURCES = \
signals.c \ signals.c \
special-vars.c \ special-vars.c \
utf8.c \ utf8.c \
wcwidth.c \
write-buffer.c write-buffer.c
structure_headers = \ structure_headers = \
@ -94,6 +95,7 @@ pkginc_core_HEADERS = \
settings.h \ settings.h \
signals.h \ signals.h \
special-vars.h \ special-vars.h \
utf8.h \
window-item-def.h \ window-item-def.h \
write-buffer.h \ write-buffer.h \
$(structure_headers) $(structure_headers)

View File

@ -24,7 +24,7 @@
#include "utf8.h" #include "utf8.h"
#include "module.h" #include "module.h"
#include "wcwidth.c"
/* Provide is_utf8(): */ /* Provide is_utf8(): */
#include "recode.h" #include "recode.h"

View File

@ -59,7 +59,7 @@
* Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c * Latest version: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c
*/ */
#include "module.h" #include "utf8.h"
struct interval { struct interval {
int first; int first;