nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [PATCH] only include langinfo.h when ENABLE_UTF8 is def


From: Chris Allegretta
Subject: Re: [Nano-devel] [PATCH] only include langinfo.h when ENABLE_UTF8 is defined
Date: Fri, 11 Jul 2008 22:52:55 -0400

Applied in r4279.  Thanks Mike.

On Mon, Jun 30, 2008 at 1:13 PM, Mike Frysinger <address@hidden> wrote:
---
 src/nano.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/nano.c b/src/nano.c
index 950cffc..1549221 100644
--- a/src/nano.c
+++ b/src/nano.c
@@ -32,8 +32,10 @@
 #include <errno.h>
 #include <ctype.h>
 #include <locale.h>
-#include <langinfo.h>
 #include <termios.h>
+#ifdef ENABLE_UTF8
+#include <langinfo.h>
+#endif
 #ifdef HAVE_GETOPT_H
 #include <getopt.h>
 #endif
--
1.5.6.1



_______________________________________________
Nano-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/nano-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]