aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2019-07-12 18:30:46 +0300
committerLasse Collin <lasse.collin@tukaani.org>2019-12-31 22:27:11 +0200
commit710f5bd769a5d2bd8684256c2727d15350ee2ab8 (patch)
tree64ed33df089945da758ac0ed08bb7e2d104405e9
parentliblzma: Fix a buggy comment. (diff)
downloadxz-710f5bd769a5d2bd8684256c2727d15350ee2ab8.tar.xz
Add missing include to tuklib_mbstr_width.c.
It didn't matter in XZ Utils because sysdefs.h includes string.h anyway.
-rw-r--r--src/common/tuklib_mbstr_width.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/tuklib_mbstr_width.c b/src/common/tuklib_mbstr_width.c
index 4bbe9647..2eab2341 100644
--- a/src/common/tuklib_mbstr_width.c
+++ b/src/common/tuklib_mbstr_width.c
@@ -11,6 +11,7 @@
///////////////////////////////////////////////////////////////////////////////
#include "tuklib_mbstr.h"
+#include <string.h>
#if defined(HAVE_MBRTOWC) && defined(HAVE_WCWIDTH)
# include <wchar.h>