0002-include-missing-cstdint.patch 995 B

12345678910111213141516171819202122232425262728293031
  1. From 927cd88cad7bea94c2eebecc18f7881f0defaccb Mon Sep 17 00:00:00 2001
  2. From: Khem Raj <raj.khem@gmail.com>
  3. Date: Thu, 26 Jan 2023 23:36:29 -0800
  4. Subject: [PATCH] include missing <cstdint>
  5. gcc 13 moved some includes around and as a result <cstdint>
  6. is no longer transitively included [1]. Explicitly include
  7. it for uint{32,64}_t.
  8. [1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
  9. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  10. Upstream: https://github.com/Drive-Trust-Alliance/sedutil/pull/425
  11. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  12. ---
  13. Common/DtaOptions.h | 1 +
  14. 1 file changed, 1 insertion(+)
  15. diff --git a/Common/DtaOptions.h b/Common/DtaOptions.h
  16. index c012af1d..7530a0b7 100644
  17. --- a/Common/DtaOptions.h
  18. +++ b/Common/DtaOptions.h
  19. @@ -21,6 +21,7 @@ along with sedutil. If not, see <http://www.gnu.org/licenses/>.
  20. #ifndef _DTAOPTIONS_H
  21. #define _DTAOPTIONS_H
  22. +#include <cstdint>
  23. /** Output modes */
  24. typedef enum _sedutiloutput {
  25. sedutilNormal,