mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:55:43 +01:00
aplay: Fix wav file not being split on 32 bit platforms
On my 32 bit armhf board arecord exits because of write() returning EFBIG when the output file size reaches 2147483647 bytes. To fix this, include generated header file before system header files so that _FILE_OFFSET_BITS=64 is used properly, as required in documentation "man feature_test_macros". Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
9bc4964572
commit
588b3aa0ef
1 changed files with 1 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
|||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include "aconfig.h"
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <unistd.h>
|
||||
|
@ -49,7 +50,6 @@
|
|||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <endian.h>
|
||||
#include "aconfig.h"
|
||||
#include "gettext.h"
|
||||
#include "formats.h"
|
||||
#include "version.h"
|
||||
|
|
Loading…
Reference in a new issue