* [PATCH] ucm: parser needs limits.h
@ 2016-12-21 22:46 Gustavo Zacarias
2016-12-28 16:01 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2016-12-21 22:46 UTC (permalink / raw)
To: alsa-devel; +Cc: Gustavo Zacarias
It's using PATH_MAX which is defined there, otherwise the build fails on
musl libc.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
src/ucm/parser.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/ucm/parser.c b/src/ucm/parser.c
index c98373a..f520abc 100644
--- a/src/ucm/parser.c
+++ b/src/ucm/parser.c
@@ -32,6 +32,7 @@
#include "ucm_local.h"
#include <dirent.h>
+#include <limits.h>
/** The name of the environment variable containing the UCM directory */
#define ALSA_CONFIG_UCM_VAR "ALSA_CONFIG_UCM"
--
2.10.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ucm: parser needs limits.h
2016-12-21 22:46 [PATCH] ucm: parser needs limits.h Gustavo Zacarias
@ 2016-12-28 16:01 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2016-12-28 16:01 UTC (permalink / raw)
To: Gustavo Zacarias; +Cc: alsa-devel
On Wed, 21 Dec 2016 23:46:34 +0100,
Gustavo Zacarias wrote:
>
> It's using PATH_MAX which is defined there, otherwise the build fails on
> musl libc.
>
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Applied, thanks.
Takashi
> ---
> src/ucm/parser.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/ucm/parser.c b/src/ucm/parser.c
> index c98373a..f520abc 100644
> --- a/src/ucm/parser.c
> +++ b/src/ucm/parser.c
> @@ -32,6 +32,7 @@
>
> #include "ucm_local.h"
> #include <dirent.h>
> +#include <limits.h>
>
> /** The name of the environment variable containing the UCM directory */
> #define ALSA_CONFIG_UCM_VAR "ALSA_CONFIG_UCM"
> --
> 2.10.2
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-28 16:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-21 22:46 [PATCH] ucm: parser needs limits.h Gustavo Zacarias
2016-12-28 16:01 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.