unaccepted-pr80443-use-relative-includes.patch 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. From 3e8bbe318ebbd498a7457afee2192c47650b6dad Mon Sep 17 00:00:00 2001
  2. From: Yuriy Chernyshov <thegeorg@yandex-team.com>
  3. Date: Fri, 2 Feb 2024 18:09:47 +0300
  4. Subject: [PATCH] Use relative includes to allow source-based dependencies
  5. without -I
  6. ---
  7. libunwind/include/libunwind.h | 2 +-
  8. libunwind/include/unwind.h | 6 +++---
  9. 2 files changed, 4 insertions(+), 4 deletions(-)
  10. diff --git a/libunwind/include/libunwind.h b/libunwind/include/libunwind.h
  11. index b2dae8feed9a3..02739b384e9da 100644
  12. --- a/include/libunwind.h
  13. +++ b/include/libunwind.h
  14. @@ -13,1 +13,1 @@
  15. -#include <__libunwind_config.h>
  16. +#include "__libunwind_config.h"
  17. diff --git a/libunwind/include/unwind.h b/libunwind/include/unwind.h
  18. index b1775d3a3decc..1973c5826d3ca 100644
  19. --- a/include/unwind.h
  20. +++ b/include/unwind.h
  21. @@ -13,1 +13,1 @@
  22. -#include <__libunwind_config.h>
  23. +#include "__libunwind_config.h"
  24. @@ -56,1 +56,1 @@ typedef enum {
  25. -#include <unwind_arm_ehabi.h>
  26. +#include "unwind_arm_ehabi.h"
  27. @@ -56,1 +56,1 @@ typedef enum {
  28. -#include <unwind_itanium.h>
  29. +#include "unwind_itanium.h"