summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian-hacks/rnp-Fix-include-for-format-specifiers-for-uint32_t.patch
blob: 152e5978f8e06c57c15d778038420533d57823ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Tue, 18 Jul 2023 19:55:09 +0200
Subject: rnp: Fix include for format specifiers for uint32_t

The internal rnp library need the header file cinttypes so the format
definitions in sexp-error.h knows the format of uint32_t.

Forwarded: not-needed
---
 comm/third_party/rnp/src/libsexp/include/sexp/sexp-error.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/comm/third_party/rnp/src/libsexp/include/sexp/sexp-error.h b/comm/third_party/rnp/src/libsexp/include/sexp/sexp-error.h
index 332a63b..6e9dacc 100644
--- a/comm/third_party/rnp/src/libsexp/include/sexp/sexp-error.h
+++ b/comm/third_party/rnp/src/libsexp/include/sexp/sexp-error.h
@@ -29,6 +29,7 @@
 
 #pragma once
 
+#include <cinttypes>
 #include <cstdint>
 #include <exception>
 #include <iostream>