# HG changeset patch # User Lasse Collin <lasse.collin@tukaani.org> # Date 1582217644 -7200 # Thu Feb 20 18:54:04 2020 +0200 # Node ID 7c6653df864d2ddae65e1ee9337a5872e4c427a5 # Parent df3ec2da1297f47c40b5b9ea04ebc7a04e4d6a2f 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. diff --git a/src/common/tuklib_exit.c b/src/common/tuklib_exit.c --- 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"