aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-include-stdint.h-for-int64_t-types.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-include-stdint.h-for-int64_t-types.patch')
-rw-r--r--meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-include-stdint.h-for-int64_t-types.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-include-stdint.h-for-int64_t-types.patch b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-include-stdint.h-for-int64_t-types.patch
new file mode 100644
index 0000000000..373e146b98
--- /dev/null
+++ b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-include-stdint.h-for-int64_t-types.patch
@@ -0,0 +1,27 @@
+From 44f4254fe96c43437400f94a8a2800175ddf3279 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Mon, 20 May 2024 21:00:48 -0700
+Subject: [PATCH] include stdint.h for int64_t types
+
+This is exposed when compiling for musl platforms where this
+header is not included indirectly.
+
+Upstream-Status: Submitted [https://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3/pull/270]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ src/Value.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/Value.cpp b/src/Value.cpp
+index cbda697..d6f2c9c 100644
+--- a/src/Value.cpp
++++ b/src/Value.cpp
+@@ -1,4 +1,5 @@
+ #include <iomanip>
++#include <cstdint>
+
+ #include "etcd/Value.hpp"
+ #include "etcd/v3/KeyValue.hpp"
+--
+2.45.1
+