File: 0015-Add-missing-cstdint.patch

package info (click to toggle)
cura-engine 1%3A5.0.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,860 kB
  • sloc: cpp: 52,613; python: 322; makefile: 10; sh: 2
file content (25 lines) | stat: -rw-r--r-- 548 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 598697b9d0c4f02d51504cd26e7399613a5a1b36 Mon Sep 17 00:00:00 2001
From: Gregor Riepl <onitake@gmail.com>
Date: Fri, 14 Jul 2023 22:21:44 +0200
Subject: [PATCH] Add missing cstdint include. This avoids compilation problems
 with gcc 13.

---
 src/utils/math.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/utils/math.h b/src/utils/math.h
index 867cc6cad..e30d855dd 100644
--- a/src/utils/math.h
+++ b/src/utils/math.h
@@ -4,6 +4,7 @@
 #ifndef UTILS_MATH_H
 #define UTILS_MATH_H
 
+#include <cstdint>
 #include <cmath>
 
 
-- 
2.40.1