summaryrefslogtreecommitdiff
path: root/dselect
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2008-08-26 19:52:03 +0300
committerGuillem Jover <guillem@debian.org>2008-09-14 04:25:29 +0300
commit3fffee5e7019889f570755703e7a3ec7a8646f23 (patch)
tree03a1e8492c28ee4a6c024172789742cfa102df36 /dselect
parentdf834c918b565efd02562024ac2060858577a21c (diff)
downloaddpkg-3fffee5e7019889f570755703e7a3ec7a8646f23.tar.gz
Move locale.h inclusion and locale setup to each program main
Diffstat (limited to 'dselect')
-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>