mirror of https://github.com/nirenjan/libx52.git
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
parent
0ac3a3d0c4
commit
ba9348b888
|
@ -26,6 +26,7 @@
|
||||||
#if ENABLE_NLS
|
#if ENABLE_NLS
|
||||||
|
|
||||||
/* Get declarations of GNU message catalog functions. */
|
/* Get declarations of GNU message catalog functions. */
|
||||||
|
# include <locale.h>
|
||||||
# include <libintl.h>
|
# include <libintl.h>
|
||||||
|
|
||||||
/* You can set the DEFAULT_TEXT_DOMAIN macro to specify the domain used by
|
/* You can set the DEFAULT_TEXT_DOMAIN macro to specify the domain used by
|
||||||
|
|
Loading…
Reference in New Issue