From ba9348b888ad262215f1b5536abcc0b2eb042dc8 Mon Sep 17 00:00:00 2001 From: nirenjan Date: Mon, 13 Jun 2022 01:45:34 -0700 Subject: [PATCH] Include locale.h in gettext.h When building with coverage enabled, the compiler complains about missing definitions for setlocale and LC_ALL. These can be found in locale.h, and by including it in gettext.h, we can ensure that we won't see any more such issues. --- gettext.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gettext.h b/gettext.h index 8192e2e..e499680 100644 --- a/gettext.h +++ b/gettext.h @@ -26,6 +26,7 @@ #if ENABLE_NLS /* Get declarations of GNU message catalog functions. */ +# include # include /* You can set the DEFAULT_TEXT_DOMAIN macro to specify the domain used by