0002-add-missing-stdarg-includes.patch 954 B

12345678910111213141516171819202122232425262728293031323334
  1. From fa4d8468907aa41cb08964e82eb3c7d82a7270bf Mon Sep 17 00:00:00 2001
  2. From: Martin Bark <martin@barkynet.com>
  3. Date: Sun, 4 Jun 2017 23:11:54 +0100
  4. Subject: [PATCH] add missing stdarg includes
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Fixes error when using uclibc
  9. ../deps/v8/src/wasm/wasm-result.h:118:70: error: ‘va_list’ has not been declared
  10. This has been fixed upstream in v8, see
  11. https://codereview.chromium.org/2780913002
  12. Signed-off-by: Martin Bark <martin@barkynet.com>
  13. ---
  14. deps/v8/src/wasm/wasm-result.h | 1 +
  15. 1 file changed, 1 insertion(+)
  16. diff --git a/deps/v8/src/wasm/wasm-result.h b/deps/v8/src/wasm/wasm-result.h
  17. index 004ac22..eac307c 100644
  18. --- a/deps/v8/src/wasm/wasm-result.h
  19. +++ b/deps/v8/src/wasm/wasm-result.h
  20. @@ -5,6 +5,7 @@
  21. #ifndef V8_WASM_RESULT_H_
  22. #define V8_WASM_RESULT_H_
  23. +#include <cstdarg>
  24. #include <memory>
  25. #include "src/base/compiler-specific.h"
  26. --
  27. 2.7.4