[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] [PATCH] only include langinfo.h when ENABLE_UTF8 is defined
From: |
Mike Frysinger |
Subject: |
[Nano-devel] [PATCH] only include langinfo.h when ENABLE_UTF8 is defined |
Date: |
Mon, 30 Jun 2008 13:13:51 -0400 |
---
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nano-devel] [PATCH] only include langinfo.h when ENABLE_UTF8 is defined,
Mike Frysinger <=