mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:15:43 +01:00
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:
parent
1a9b839b2f
commit
01285f20d9
1 changed files with 4 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue