overlay sys-fs/overlaybd: Append a build fix to photon cross patch

It is not exactly a cross fix, but it may serve as a single place for
photon fixes. This time overlaybd stopped compiling with gcc15 due to
missing inclusion of cstdint to get a definition of uint64_t. Most
likely some other header used to pull it in, but now it does not.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
This commit is contained in:
Krzesimir Nowak 2026-02-19 10:09:27 +01:00
parent 9774ded683
commit 4cb33d02c7

View File

@ -88,3 +88,29 @@ Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
--
2.49.0
From 9a4327f3dbb225fbce772fec18862f0b6884d9f5 Mon Sep 17 00:00:00 2001
From: Krzesimir Nowak <knowak@microsoft.com>
Date: Thu, 19 Feb 2026 10:07:08 +0100
Subject: [PATCH] Add missing cstdint include
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
---
fs/path.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/path.h b/fs/path.h
index fe5514e..13d653d 100644
--- a/fs/path.h
+++ b/fs/path.h
@@ -20,6 +20,7 @@ limitations under the License.
#include <stack>
#include <memory>
#include <climits>
+#include <cstdint>
#include <photon/fs/filesystem.h>
#include <photon/common/string_view.h>
--
2.52.0