aboutsummaryrefslogtreecommitdiffstats
path: root/common/localename.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-03-15 13:08:51 +0000
committerWerner Koch <[email protected]>2010-03-15 13:08:51 +0000
commit0f4eefb09464828ce07ad5b8763423e0d1d68e61 (patch)
tree6d6abf59aeb2a54546fbf7018aa9affd8905bd56 /common/localename.c
parentFinished the bulk of changes to use estream in most places instead of (diff)
downloadgnupg-0f4eefb09464828ce07ad5b8763423e0d1d68e61.tar.gz
gnupg-0f4eefb09464828ce07ad5b8763423e0d1d68e61.zip
Builds again for W32.
Diffstat (limited to 'common/localename.c')
-rw-r--r--common/localename.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/localename.c b/common/localename.c
index 5c46ddd34..8f7774880 100644
--- a/common/localename.c
+++ b/common/localename.c
@@ -29,6 +29,7 @@
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
+#include <gpg-error.h> /* We need gettext_localename for W32. */
#include "../common/w32help.h"
@@ -101,7 +102,7 @@ gnupg_messages_locale_name (void)
const char *s;
#ifdef HAVE_W32_SYSTEM
- /* We use the localname function from ../common/w32-gettext.c. */
+ /* We use the localename function libgpg-error. */
s = gettext_localename ();
#else
s = do_nl_locale_name (LC_MESSAGES, "LC_MESSAGES");