summaryrefslogtreecommitdiff
path: root/buildlib/apti18n.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'buildlib/apti18n.h.in')
-rw-r--r--buildlib/apti18n.h.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildlib/apti18n.h.in b/buildlib/apti18n.h.in
index a9d48dd97..2202c5b19 100644
--- a/buildlib/apti18n.h.in
+++ b/buildlib/apti18n.h.in
@@ -8,7 +8,8 @@
#ifdef USE_NLS
// apt will use the gettext implementation of the C library
-# include <libintl.h>
+#include <libintl.h>
+#include <locale.h>
# ifdef APT_DOMAIN
# define _(x) dgettext(APT_DOMAIN,x)
# define P_(msg,plural,n) dngettext(APT_DOMAIN,msg,plural,n)