From: Chris Allegretta Date: Sat, 12 Jul 2008 02:32:19 +0000 (+0000) Subject: 2008-07-11 Fabian Groffen X-Git-Tag: v2.1.3~17 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b8576780bf1977660015ae8ed3ac963cebfd165b;p=nano.git 2008-07-11 Fabian Groffen * nano.c: Don't include langinfo.h if not using ENABLE_UTF8 (Savannah patch 6565) git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4277 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index 91cf0172..10d8e32a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-07-11 Fabian Groffen + * nano.c: Don't include langinfo.h if not using ENABLE_UTF8 + (Savannah patch 6565) + 2008-07-11 Mitsuya Shibata * text.c: Fix crashing in help menu when using certain locales (Savannah bug 23751) diff --git a/src/nano.c b/src/nano.c index bb19f116..46b63112 100644 --- a/src/nano.c +++ b/src/nano.c @@ -32,7 +32,9 @@ #include #include #include +#ifdef ENABLE_UTF8 #include +#endif #include #ifdef HAVE_GETOPT_H #include