Merge release-5-0 into master
[alexxy/gromacs.git] / src / gromacs / legacyheaders / shellfc.h
index 0c1126e8e5c8bee8c8875eea3e6c9769fd6204a4..358decc6bd8370ec11446eaa52a0c1e7d72ed684 100644 (file)
@@ -35,6 +35,8 @@
  * the research papers on the package. Check out http://www.gromacs.org.
  */
 
+#include "../timing/wallcycle.h"
+
 #include "typedefs.h"
 #include "vsite.h"
 
@@ -42,6 +44,8 @@
 extern "C" {
 #endif
 
+struct t_graph;
+
 /* Initialization function, also predicts the initial shell postions.
  * If x!=NULL, the shells are predict for the global coordinates x.
  */
@@ -64,7 +68,7 @@ int relax_shell_flexcon(FILE *log, t_commrec *cr, gmx_bool bVerbose,
                         tensor force_vir,
                         t_mdatoms *md,
                         t_nrnb *nrnb, gmx_wallcycle_t wcycle,
-                        t_graph *graph,
+                        struct t_graph *graph,
                         gmx_groups_t *groups,
                         gmx_shellfc_t shfc,
                         t_forcerec *fr,