0004-mxml-string-compile-headers.patch 668 B

12345678910111213141516171819202122232425262728
  1. From e0c02526840d26758e4bcfd84dd5f7cda3cfbe1a Mon Sep 17 00:00:00 2001
  2. From: Richard Leitner <richard.leitner@skidata.com>
  3. Date: Fri, 1 Jun 2018 14:23:40 +0200
  4. Subject: [PATCH 4/7] mxml-string: compile headers
  5. This patch was taken from Debian's libmxml 2.11-1 source:
  6. 04_compile_headers.diff
  7. ---
  8. mxml-string.c | 3 ++-
  9. 1 file changed, 2 insertions(+), 1 deletion(-)
  10. diff --git a/mxml-string.c b/mxml-string.c
  11. index 2495753..9bdb4c3 100644
  12. --- a/mxml-string.c
  13. +++ b/mxml-string.c
  14. @@ -17,7 +17,8 @@
  15. */
  16. #include "config.h"
  17. -
  18. +#include <stdlib.h>
  19. +#include <stdarg.h>
  20. /*
  21. * The va_copy macro is part of C99, but many compilers don't implement it.
  22. --
  23. 2.11.0