summaryrefslogtreecommitdiff
path: root/sci-libs/ceres-solver/files/ceres-solver-2.2.0-include-algorithm.patch
blob: 4f5887eec6e4d51c16081cd96eedd9017d89e36c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Paul Zander <negril.nx+gentoo@gmail.com>
Date: Wed, 21 Aug 2024 20:19:25 +0200
Subject: [PATCH] include algorithm

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>

--- a/internal/ceres/cuda_streamed_buffer.h
+++ b/internal/ceres/cuda_streamed_buffer.h
@@ -34,6 +34,9 @@
 #include "ceres/internal/config.h"
 
 #ifndef CERES_NO_CUDA
+
+#include <algorithm>
+
 #include "ceres/cuda_buffer.h"
 
 namespace ceres::internal {