summaryrefslogtreecommitdiff
path: root/sci-libs/proj/files/proj-8.1.0-test_factory-include.patch
blob: c88fe83cb509862270f5e45599a4f2daab372cac (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
25
26
27
28
29
https://patch-diff.githubusercontent.com/raw/OSGeo/PROJ/pull/2760.patch

From fc983b6e3343ba4d52fd0a889bb6bbf6f143f417 Mon Sep 17 00:00:00 2001
From: Even Rouault <even.rouault@spatialys.com>
Date: Thu, 1 Jul 2021 21:24:26 +0200
Subject: [PATCH] =?UTF-8?q?test=5Ffactory.cpp:=20fix=20build,=20in=20parti?=
 =?UTF-8?q?cular=20on=20Alpine=20Edge=20(fixes=C2=A0#2759)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 test/unit/test_factory.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp
index 985499150e..a60296d10a 100644
--- a/test/unit/test_factory.cpp
+++ b/test/unit/test_factory.cpp
@@ -39,6 +39,8 @@
 #include "proj/metadata.hpp"
 #include "proj/util.hpp"
 
+#include <algorithm>
+
 #include <sqlite3.h>
 
 #ifdef _MSC_VER