aboutsummaryrefslogtreecommitdiff
path: root/src
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-07-12 18:30:46 +0300
commitac0b4212656a48ef0c187c0c941d40ac9489ae36 (patch)
treebbce78f4fe3d73d098751ca170b3495cc0acb872 /src
parentUpdate tuklib base headers to include stdbool.h. (diff)
downloadxz-ac0b4212656a48ef0c187c0c941d40ac9489ae36.tar.xz
Add missing include to tuklib_mbstr_width.c.
It didn't matter in XZ Utils because sysdefs.h includes string.h anyway.
Diffstat (limited to 'src')
-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>