]> git.alsa-project.org Git - alsa-lib.git/commitdiff
ucm: parser needs limits.h
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 21 Dec 2016 22:46:34 +0000 (19:46 -0300)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Dec 2016 16:01:21 +0000 (17:01 +0100)
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/ucm/parser.c

index c98373a9c13b64eabd06fbfdc4d5bb799171e070..f520abc59a5c1402f2fdfe4c36bcf72b0b729325 100644 (file)
@@ -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"