mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-01-27 12:01:38 +01:00
libziparchive: fix missing fixed-width integer types in zip_writer.h
Compilation fails due to undefined types 'uint16_t' and 'uint32_t' in zip_writer.h. These types are used in struct members but are not recognized because the required header <cstdint> is not included. This results in errors such as: error: 'uint16_t' does not name a type error: 'uint32_t' does not name a type Added '#include <cstdint>' to zip_writer.h to ensure fixed-width integer types are properly defined. Signed-off-by: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
ff0776755a
commit
d9ca35948c
|
|
@ -0,0 +1,38 @@
|
||||||
|
From f6874a2f7de30b6eeefb2d509b895c58b93da8f7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com>
|
||||||
|
Date: Wed, 29 Oct 2025 09:38:17 +0530
|
||||||
|
Subject: [PATCH] libziparchive: fix missing fixed-width integer types in
|
||||||
|
zip_writer.h
|
||||||
|
|
||||||
|
Compilation fails due to undefined types 'uint16_t' and 'uint32_t' in
|
||||||
|
zip_writer.h. These types are used in struct members but are not recognized
|
||||||
|
because the required header <cstdint> is not included. This results in
|
||||||
|
errors such as:
|
||||||
|
error: 'uint16_t' does not name a type
|
||||||
|
error: 'uint32_t' does not name a type
|
||||||
|
|
||||||
|
Added '#include <cstdint>' to zip_writer.h to ensure fixed-width integer
|
||||||
|
types are properly defined.
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
|
||||||
|
Signed-off-by: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com>
|
||||||
|
---
|
||||||
|
system/core/libziparchive/include/ziparchive/zip_writer.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/system/core/libziparchive/include/ziparchive/zip_writer.h b/system/core/libziparchive/include/ziparchive/zip_writer.h
|
||||||
|
index d68683df..7a05e349 100644
|
||||||
|
--- a/system/core/libziparchive/include/ziparchive/zip_writer.h
|
||||||
|
+++ b/system/core/libziparchive/include/ziparchive/zip_writer.h
|
||||||
|
@@ -18,6 +18,7 @@
|
||||||
|
|
||||||
|
#include <cstdio>
|
||||||
|
#include <ctime>
|
||||||
|
+#include <cstdint>
|
||||||
|
|
||||||
|
#include <gtest/gtest_prod.h>
|
||||||
|
#include <memory>
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
||||||
|
|
@ -40,6 +40,7 @@ SRC_URI += " \
|
||||||
file://debian/system/core/fix-standard-namespace-errors.patch \
|
file://debian/system/core/fix-standard-namespace-errors.patch \
|
||||||
file://debian/system/core/Add-riscv64-support.patch \
|
file://debian/system/core/Add-riscv64-support.patch \
|
||||||
file://debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch \
|
file://debian/system/core/android-tools-scope-write-macro-to-prevent-conflict-.patch \
|
||||||
|
file://debian/system/core/libziparchive-fix-missing-fixed-width-integer-types-.patch \
|
||||||
\
|
\
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user