0003-refactor-add-most-of-src-util-to-iwyu.patch 998 B

12345678910111213141516171819202122232425262728293031323334
  1. From c187efa907fd64ea2c7b7d699c5c97f9d5b79960 Mon Sep 17 00:00:00 2001
  2. From: fanquake <fanquake@gmail.com>
  3. Date: Thu, 9 Jun 2022 16:26:55 +0100
  4. Subject: [PATCH] refactor: add most of src/util to iwyu
  5. These files change infrequently, and not much header shuffling is required.
  6. We don't add everything in src/util/ yet, because IWYU makes some
  7. dubious suggestions, which I'm going to follow up with upstream.
  8. Upstream: https://github.com/bitcoin/bitcoin/commit/07f2c25d04c39a0074e1d9ee1b24b3e359c8153f
  9. [Bernd: backported relevant part from upstream commit to version 0.21.2
  10. to fix build error with gcc 13.x]
  11. Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
  12. ---
  13. src/util/bip32.h | 1 +
  14. 1 file changed, 1 insertion(+)
  15. diff --git a/src/util/bip32.h b/src/util/bip32.h
  16. index 347e83db9..6ef051c48 100644
  17. --- a/src/util/bip32.h
  18. +++ b/src/util/bip32.h
  19. @@ -6,6 +6,7 @@
  20. #define BITCOIN_UTIL_BIP32_H
  21. #include <attributes.h>
  22. +#include <cstdint>
  23. #include <string>
  24. #include <vector>
  25. --
  26. 2.39.2