Move conditional inclusion of locale.h further down.

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ò <flameeyes@gmail.com>
This commit is contained in:
Diego 'Flameeyes' Pettenò 2008-11-13 13:22:13 +01:00
parent 1a9b839b2f
commit 01285f20d9

View file

@ -44,9 +44,6 @@
#include <getopt.h>
#include <inttypes.h>
#include <ctype.h>
#ifdef ENABLE_NLS
#include <locale.h>
#endif
#include <byteswap.h>
#define ALSA_PCM_NEW_HW_PARAMS_API
@ -59,6 +56,10 @@
#include "gettext.h"
#include "version.h"
#ifdef ENABLE_NLS
#include <locale.h>
#endif
enum {
TEST_PINK_NOISE = 1,
TEST_SINE,