Index: src/globs.c --- src/globs.c.orig 2018-09-02 09:47:27.000000000 +0200 +++ src/globs.c 2018-09-06 20:23:35.120366000 +0200 @@ -24,9 +24,6 @@ #include "globs.h" #include "parse.h" -#ifdef HAVE_MALLOC_H -#include -#endif #include #include Index: src/indent.c --- src/indent.c.orig 2018-09-02 09:47:27.000000000 +0200 +++ src/indent.c 2018-09-06 20:30:37.883820000 +0200 @@ -1058,11 +1058,13 @@ BOOLEAN using_stdin = false; exit_values_ty exit_status; +#if defined(ENABLE_NLS) #if defined (HAVE_SETLOCALE) setlocale(LC_ALL, ""); #endif bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); +#endif #if defined (_WIN32) && !defined (__CYGWIN__) /* wildcard expansion of commandline arguments, see wildexp.c */ Index: src/wildexp.c --- src/wildexp.c.orig 2018-09-02 09:47:27.000000000 +0200 +++ src/wildexp.c 2018-09-06 20:23:35.120617000 +0200 @@ -48,7 +48,6 @@ #include #include #include -#include #include #include "sys.h"