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>
#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
#include "gettext.h"
#include "version.h"
+#ifdef ENABLE_NLS
+#include <locale.h>
+#endif
+
enum {
TEST_PINK_NOISE = 1,
TEST_SINE,