From 01285f20d9f1c51d251bc143dd1c9f2ad026f87b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Thu, 13 Nov 2008 13:22:13 +0100 Subject: [PATCH] Move conditional inclusion of locale.h further down. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Without this patch, ENABLE_NLS is checked before ever being defined (aconfig.h is not yet included), and thus locale.h would never be included even when NLS is enabled. Signed-off-by: Diego 'Flameeyes' Pettenò --- speaker-test/speaker-test.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/speaker-test/speaker-test.c b/speaker-test/speaker-test.c index 57a7cbc..b8cd5c8 100644 --- a/speaker-test/speaker-test.c +++ b/speaker-test/speaker-test.c @@ -44,9 +44,6 @@ #include #include #include -#ifdef ENABLE_NLS -#include -#endif #include #define ALSA_PCM_NEW_HW_PARAMS_API @@ -59,6 +56,10 @@ #include "gettext.h" #include "version.h" +#ifdef ENABLE_NLS +#include +#endif + enum { TEST_PINK_NOISE = 1, TEST_SINE, -- 2.47.1