aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2020-02-20 18:54:04 +0200
committerLasse Collin <lasse.collin@tukaani.org>2020-02-20 18:54:04 +0200
commit57360bb4fd79b358b36d2877db26ac828d1fdfcb (patch)
treefbc9f7f0a6d1524192d22b52066ecaf2cdb0ebec /src
parentRevert the previous commit and add a comment. (diff)
downloadxz-57360bb4fd79b358b36d2877db26ac828d1fdfcb.tar.xz
tuklib_exit: Add missing header.
strerror() needs <string.h> which happened to be included via tuklib_common.h -> tuklib_config.h -> sysdefs.h if HAVE_CONFIG_H was defined. This wasn't tested without config.h before so it had worked fine.
Diffstat (limited to 'src')
-rw-r--r--src/common/tuklib_exit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/tuklib_exit.c b/src/common/tuklib_exit.c
index c393be64..aa55620e 100644
--- a/src/common/tuklib_exit.c
+++ b/src/common/tuklib_exit.c
@@ -14,6 +14,7 @@
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include "tuklib_gettext.h"
#include "tuklib_progname.h"