summaryrefslogtreecommitdiff
path: root/sci-chemistry/gromacs/files/gromacs-2019.6-missing-include.patch
blob: cf478d52cb67d17b1fac8c0e4f3904400bb2f859 (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
30
31
32
33
34
35
36
37
38
From 053286ff0bfb88db5c158f5f68017c4bb5d9496a Mon Sep 17 00:00:00 2001
From: Christoph Junghans <junghans@votca.org>
Date: Wed, 28 Apr 2021 19:44:09 -0600
Subject: [PATCH] fix build on F34

see https://gitlab.com/gromacs/gromacs/-/merge_requests/1524
---
 src/gromacs/awh/biasparams.cpp | 1 +
 src/gromacs/mdrun/minimize.cpp | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/gromacs/awh/biasparams.cpp b/src/gromacs/awh/biasparams.cpp
index f4db497002..e762ea084a 100644
--- a/src/gromacs/awh/biasparams.cpp
+++ b/src/gromacs/awh/biasparams.cpp
@@ -49,6 +49,7 @@
 #include <cmath>
 
 #include <algorithm>
+#include <limits>
 
 #include "gromacs/math/functions.h"
 #include "gromacs/mdtypes/awh-params.h"
diff --git a/src/gromacs/mdrun/minimize.cpp b/src/gromacs/mdrun/minimize.cpp
index 8550271325..495bcfdda0 100644
--- a/src/gromacs/mdrun/minimize.cpp
+++ b/src/gromacs/mdrun/minimize.cpp
@@ -51,6 +51,7 @@
 #include <ctime>
 
 #include <algorithm>
+#include <limits>
 #include <vector>
 
 #include "gromacs/commandline/filenm.h"
-- 
GitLab