mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:25:43 +01:00
utils.c: Include limits.h explicitly to fix build on musl
Fixes: | ../../alsa-utils-1.2.5/alsactl/utils.c: In function 'snd_card_clean_cfgdir': | ../../alsa-utils-1.2.5/alsactl/utils.c:309:19: error: 'PATH_MAX' undeclared (first use in this function) | 309 | char path[PATH_MAX]; | | ^~~~~~~~ | ../../alsa-utils-1.2.5/alsactl/utils.c:309:19: note: each undeclared identifier is reported only once for each function it appears in Fixes: https://github.com/alsa-project/alsa-utils/pull/92 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
6018c2014a
commit
6a0d13ddb2
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
|
#include <limits.h>
|
||||||
#include "alsactl.h"
|
#include "alsactl.h"
|
||||||
|
|
||||||
int file_map(const char *filename, char **buf, size_t *bufsize)
|
int file_map(const char *filename, char **buf, size_t *bufsize)
|
||||||
|
|
Loading…
Reference in a new issue