summary refs log tree commit diff
path: root/pls.c
diff options
context:
space:
mode:
authorCurtis McEnroe2018-08-08 16:59:26 -0400
committerCurtis McEnroe2018-08-08 16:59:26 -0400
commiteac0f83efa3d6b1db2715c21d60b170a546ebc0a (patch)
treec8db1326e24716e29d3c9b06e42527178d030fa1 /pls.c
parentb66c8abf707e6574f6867b646dfb2549a5a7147f (diff)
Factor out line editing to edit.c
Diffstat (limited to 'pls.c')
-rw-r--r--pls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pls.c b/pls.c
index 27ede4c..01df654 100644
--- a/pls.c
+++ b/pls.c
@@ -20,6 +20,8 @@
 #include <stdlib.h>
 #include <wchar.h>
 
+#include "chat.h"
+
 wchar_t *ambstowcs(const char *src) {
 	size_t len = mbsrtowcs(NULL, &src, 0, NULL);
 	if (len == (size_t)-1) return NULL;