Add necessary include
authorMark Abraham <mark.j.abraham@gmail.com>
Mon, 1 Feb 2021 10:30:35 +0000 (10:30 +0000)
committerPaul Bauer <paul.bauer.q@gmail.com>
Mon, 1 Feb 2021 10:30:35 +0000 (10:30 +0000)
int64_t needs the right header to be defined. Was broken
on Cygwin

Fixes #3890

docs/release-notes/2021/2021.1.rst
src/gromacs/mdlib/stat.h

index 4b884a69f36fa9eb9b694b853ff472924081cfb6..34bf1c8be5265172db1366b8bfa3114733f3ac73 100644 (file)
@@ -22,6 +22,14 @@ Fixes for ``gmx`` tools
 Fixes that affect portability
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
+Fixed compilation on Cygwin
+"""""""""""""""""""""""""""
+
+A |Gromacs| header file was not including the necessary standard
+header.
+
+:issue:`3890`
+
 Miscellaneous
 ^^^^^^^^^^^^^
 
index d69d5ceaef0240f92d64e1361e87d6d02e268ef2..a26520004f4c35b74ccfe646f49f2cb18d0eb72f 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
  * Copyright (c) 2013,2014,2015,2016,2017 by the GROMACS development team.
- * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2020,2021, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -39,6 +39,8 @@
 #ifndef GMX_MDLIB_STAT_H
 #define GMX_MDLIB_STAT_H
 
+#include <cstdint>
+
 #include "gromacs/math/vectypes.h"
 
 struct gmx_ekindata_t;