new file mode 100644
@@ -0,0 +1,35 @@
+From: Khem Raj <khem.raj@oss.qualcomm.com>
+Date: Tue, 29 Sep 2026 01:54:51 +0000
+Subject: [PATCH] StreamCallback.h: add missing <cstdint> include for
+ int64_t
+
+StreamCallback.h uses int64_t in ReadWriteResult and in the
+InputStreamCallback/OutputStreamCallback std::function aliases, but
+never includes <cstdint> itself. On glibc/libstdc++ this happens to
+compile because some other transitively-included standard header
+provides int64_t first, but musl's libc++ headers do not provide
+this transitive declaration, so the header fails to parse with
+"unknown type name 'int64_t'" (which then cascades into std::function
+template errors). This is the same class of issue already fixed for
+LibWrapper.h and RepositoryMetricsSource.h by
+0001-Fix-build-with-gcc-16.patch; StreamCallback.h needs the same
+treatment.
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
+---
+ minifi-api/include/minifi-cpp/io/StreamCallback.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/minifi-api/include/minifi-cpp/io/StreamCallback.h b/minifi-api/include/minifi-cpp/io/StreamCallback.h
+index 1111111..2222222 100644
+--- a/minifi-api/include/minifi-cpp/io/StreamCallback.h
++++ b/minifi-api/include/minifi-cpp/io/StreamCallback.h
+@@ -16,6 +16,7 @@
+ */
+ #pragma once
+
++#include <cstdint>
+ #include <functional>
+ #include <memory>
+ #include <optional>
@@ -29,6 +29,7 @@ SRC_URI = "git://github.com/apache/nifi-minifi-cpp.git;protocol=https;branch=mai
file://0001-Add-missing-include-for-malloc-free.patch;patchdir=thirdparty/fmt-src \
file://0001-generateVersion.sh-set-BUILD_DATE-to-SOURCE_DATE_EPO.patch \
file://0001-Fix-build-with-gcc-16.patch \
+ file://0007-StreamCallback.h-add-missing-cstdint-include-for-in.patch \
file://systemd-volatile.conf \
file://sysvinit-volatile.conf \
"
StreamCallback.h uses int64_t without including <cstdint>, relying on a transitive include that only exists on glibc. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- ...h-add-missing-cstdint-include-for-in.patch | 35 +++++++++++++++++++ .../minifi-cpp/minifi-cpp_0.99.2.bb | 1 + 2 files changed, 36 insertions(+) create mode 100644 meta-oe/recipes-extended/minifi-cpp/files/0007-StreamCallback.h-add-missing-cstdint-include-for-in.patch