diff options
Diffstat (limited to 'recipes-support/qbootctl/files/0001-Fix-to-uint32_t-has-not-been-declared.patch')
-rw-r--r-- | recipes-support/qbootctl/files/0001-Fix-to-uint32_t-has-not-been-declared.patch | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/recipes-support/qbootctl/files/0001-Fix-to-uint32_t-has-not-been-declared.patch b/recipes-support/qbootctl/files/0001-Fix-to-uint32_t-has-not-been-declared.patch new file mode 100644 index 0000000..1c16684 --- /dev/null +++ b/recipes-support/qbootctl/files/0001-Fix-to-uint32_t-has-not-been-declared.patch @@ -0,0 +1,49 @@ +From 26d488b38a0357468b8657f283ad24a433e30beb Mon Sep 17 00:00:00 2001 +From: alefnode <adrian.campos@teachelp.com> +Date: Thu, 4 May 2023 09:15:29 +0200 +Subject: [PATCH] Fix to << uint32_t has not been declared >> + +Link: https://gitlab.com/sdm845-mainline/qbootctl/-/commit/df63d7c21c19a3e3afb41d029b97b9d068880484 +Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> +--- + bootctrl_impl.cpp | 1 + + gpt-utils.h | 1 + + qbootctl.cpp | 1 + + 3 files changed, 3 insertions(+) + +diff --git a/bootctrl_impl.cpp b/bootctrl_impl.cpp +index 7c1a082..59fcc7d 100644 +--- a/bootctrl_impl.cpp ++++ b/bootctrl_impl.cpp +@@ -30,6 +30,7 @@ + #include <sys/stat.h> + #include <fcntl.h> + #include <limits.h> ++#include <stdint.h> + + #include "utils.h" + #include "gpt-utils.h" +diff --git a/gpt-utils.h b/gpt-utils.h +index 319f3fe..f153012 100644 +--- a/gpt-utils.h ++++ b/gpt-utils.h +@@ -37,6 +37,7 @@ extern "C" { + #endif + #include <unistd.h> + #include <stdlib.h> ++#include <stdint.h> + + #define GPT_SIGNATURE "EFI PART" + #define HEADER_SIZE_OFFSET 12 +diff --git a/qbootctl.cpp b/qbootctl.cpp +index 0225f0f..3559e29 100644 +--- a/qbootctl.cpp ++++ b/qbootctl.cpp +@@ -25,6 +25,7 @@ + #include <string.h> + #include <stdlib.h> + #include <unistd.h> ++#include <cstdint> + + #include "bootctrl.h" + |