diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2020-02-20 18:54:04 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2020-03-11 12:05:57 +0200 |
commit | 641042e63f665f3231c2fd1241fd3dddda3fb313 (patch) | |
tree | b5fc46a2ebb4abdbde25bfdf77b3b07df9a512c0 /src/common/tuklib_exit.c | |
parent | sysdefs.h: Omit the conditionals around string.h and limits.h. (diff) | |
download | xz-641042e63f665f3231c2fd1241fd3dddda3fb313.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 '')
-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" |