1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-15 04:28:09 -04: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 \
special-vars.c \
utf8.c \
wcwidth.c \
write-buffer.c
structure_headers = \
@ -94,6 +95,7 @@ pkginc_core_HEADERS = \
settings.h \
signals.h \
special-vars.h \
utf8.h \
window-item-def.h \
write-buffer.h \
$(structure_headers)

View File

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

View File

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