summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2016-05-18 16:57:47 +0200
committerailin-nemui <ailin-nemui@users.noreply.github.com>2016-05-18 16:57:47 +0200
commit1a6ec1b0b63c4ffbaf22137157a6fae3570b6839 (patch)
treedf7419728e8abf7e0c04801674e81592f32c9971 /src/core
parentf43040b926a290a7ae582e669cb1985ee852682a (diff)
parent02221eae373c5db93d1c715d836d79c724d361c7 (diff)
downloadirssi-1a6ec1b0b63c4ffbaf22137157a6fae3570b6839.zip
Merge pull request #482 from ailin-nemui/travis-test-dist
test make dist in travis
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Makefile.am2
-rw-r--r--src/core/utf8.c2
-rw-r--r--src/core/wcwidth.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/core/Makefile.am b/src/core/Makefile.am
index cc200034..af323234 100644
--- a/src/core/Makefile.am
+++ b/src/core/Makefile.am
@@ -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)
diff --git a/src/core/utf8.c b/src/core/utf8.c
index 29b277e1..c53d8816 100644
--- a/src/core/utf8.c
+++ b/src/core/utf8.c
@@ -24,7 +24,7 @@
#include "utf8.h"
#include "module.h"
-#include "wcwidth.c"
+
/* Provide is_utf8(): */
#include "recode.h"
diff --git a/src/core/wcwidth.c b/src/core/wcwidth.c
index 80d20fa1..711c4646 100644
--- a/src/core/wcwidth.c
+++ b/src/core/wcwidth.c
@@ -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;