CuraEngine/0001-Add-an-include-needed-for-GCC-13.patch
2023-01-29 10:58:22 -05:00

25 lines
598 B
Diff

From 85c690a98d716e1709690ab64fe6d8d6e2f3381a Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
Date: Sun, 29 Jan 2023 10:23:00 -0500
Subject: [PATCH] Add an #include needed for GCC 13
This is a (very) partial backport of de60e86a6ea11cb7d121471b5dd192e5deac0f3d.
---
src/utils/math.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/utils/math.h b/src/utils/math.h
index e36788fb..518cad05 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.39.1