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.
cpp
nirenjan 2022-06-13 01:45:34 -07:00
parent 0ac3a3d0c4
commit ba9348b888
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@
#if ENABLE_NLS
/* Get declarations of GNU message catalog functions. */
# include <locale.h>
# include <libintl.h>
/* You can set the DEFAULT_TEXT_DOMAIN macro to specify the domain used by