summaryrefslogtreecommitdiff
path: root/dselect/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dselect/main.cc')
-rw-r--r--dselect/main.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/dselect/main.cc b/dselect/main.cc
index 66d6d853a..69019139e 100644
--- a/dselect/main.cc
+++ b/dselect/main.cc
@@ -38,6 +38,10 @@
#include <ctype.h>
#include <assert.h>
+#if HAVE_LOCALE_H
+#include <locale.h>
+#endif
+
#include <ncursesw/term.h>
#include <dpkg.h>