3791bc
From d8a64ed1d63710ad764fbf3b1fb28d08204f9e72 Mon Sep 17 00:00:00 2001
3791bc
From: Kamil Dudka <kdudka@redhat.com>
3791bc
Date: Wed, 13 Feb 2013 15:28:36 +0100
3791bc
Subject: [PATCH] avoid build failure caused by mistakenly excluded <locale.h>
3791bc
3791bc
---
3791bc
 src/LYMain.c |    2 +-
3791bc
 1 files changed, 1 insertions(+), 1 deletions(-)
3791bc
3791bc
diff --git a/src/LYMain.c b/src/LYMain.c
3791bc
index 9528be2..aaddb7b 100644
3791bc
--- a/src/LYMain.c
3791bc
+++ b/src/LYMain.c
3791bc
@@ -58,7 +58,7 @@
3791bc
 #include <io.h>
3791bc
 #endif
3791bc
 
3791bc
-#if defined(LOCALE) && (!defined(HAVE_LIBINTL_H) || !defined(LC_ALL))
3791bc
+#if defined(LOCALE)
3791bc
 #undef gettext			/* Solaris locale.h prototypes gettext() */
3791bc
 #include <locale.h>
3791bc
 #ifndef HAVE_GETTEXT
3791bc
-- 
3791bc
1.7.1
3791bc