diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2020-02-20 18:54:04 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2020-02-20 18:54:04 +0200 |
commit | 57360bb4fd79b358b36d2877db26ac828d1fdfcb (patch) | |
tree | fbc9f7f0a6d1524192d22b52066ecaf2cdb0ebec /src/common | |
parent | Revert the previous commit and add a comment. (diff) | |
download | xz-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/common')
-rw-r--r-- | src/common/tuklib_exit.c | 1 |
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" |