0005-dtmerge-add-missing-include-for-va_list.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. From 1ffed0e8601afb7e65545bd545772edd0fccc404 Mon Sep 17 00:00:00 2001
  2. From: Peter Seiderer <ps.report@gmx.net>
  3. Date: Sat, 23 Apr 2016 17:48:13 +0200
  4. Subject: [PATCH] dtmerge: add missing include for va_list
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Fixes compile error with uclibc-1.0.14:
  9. In file included from rpi-userland-52eca998aa43f278314579dba4798a3fe1da46c3/host_applications/linux/apps/dtmerge/dtmerge.c:32:0:
  10. rpi-userland-52eca998aa43f278314579dba4798a3fe1da46c3/helpers/dtoverlay/dtoverlay.h:65:54: error: unknown type name ‘va_list’
  11. const char *fmt, va_list args);
  12. Signed-off-by: Peter Seiderer <ps.report@gmx.net>
  13. ---
  14. host_applications/linux/apps/dtmerge/dtmerge.c | 1 +
  15. 1 file changed, 1 insertion(+)
  16. diff --git a/host_applications/linux/apps/dtmerge/dtmerge.c b/host_applications/linux/apps/dtmerge/dtmerge.c
  17. index 9243da1..2ac8d39 100644
  18. --- a/host_applications/linux/apps/dtmerge/dtmerge.c
  19. +++ b/host_applications/linux/apps/dtmerge/dtmerge.c
  20. @@ -28,6 +28,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  21. #include <stdio.h>
  22. #include <stdlib.h>
  23. #include <libfdt.h>
  24. +#include <stdarg.h>
  25. #include "dtoverlay.h"
  26. --
  27. 2.8.1