0006-ucm-parser-needs-limits.h.patch 791 B

123456789101112131415161718192021222324252627282930
  1. From 13a796b4bd00defa9f9297fd23d508b430682aed Mon Sep 17 00:00:00 2001
  2. From: Gustavo Zacarias <gustavo@zacarias.com.ar>
  3. Date: Wed, 21 Dec 2016 19:41:26 -0300
  4. Subject: [PATCH] ucm: parser needs limits.h
  5. It's using PATH_MAX which is defined there, otherwise the build fails on
  6. musl libc.
  7. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  8. ---
  9. Patch status: sent to alsa-devel ML.
  10. src/ucm/parser.c | 1 +
  11. 1 file changed, 1 insertion(+)
  12. diff --git a/src/ucm/parser.c b/src/ucm/parser.c
  13. index c98373a..f520abc 100644
  14. --- a/src/ucm/parser.c
  15. +++ b/src/ucm/parser.c
  16. @@ -32,6 +32,7 @@
  17. #include "ucm_local.h"
  18. #include <dirent.h>
  19. +#include <limits.h>
  20. /** The name of the environment variable containing the UCM directory */
  21. #define ALSA_CONFIG_UCM_VAR "ALSA_CONFIG_UCM"
  22. --
  23. 2.10.2