summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/apti18n.h.in3
-rw-r--r--buildlib/config.h.in1
2 files changed, 3 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)
diff --git a/buildlib/config.h.in b/buildlib/config.h.in
index bd43a40b9..6779e07bc 100644
--- a/buildlib/config.h.in
+++ b/buildlib/config.h.in
@@ -42,3 +42,4 @@
#define APT_8_CLEANER_HEADERS
#define APT_9_CLEANER_HEADERS
+#define APT_10_CLEANER_HEADERS