Fix dependencies on config.h for typedefs.h
[alexxy/gromacs.git] / src / gromacs / legacyheaders / typedefs.h
index 17663d2fb249c18a9aec5b9ea4eb8197bee1940a..eb0b30b563c2d483007ebd35005b6e60da41838e 100644 (file)
@@ -200,6 +200,13 @@ t_atoms *mtop2atoms(gmx_mtop_t *mtop);
 real max_cutoff(real cutoff1, real cutoff2);
 /* Returns the maximum of the cut-off's, taking into account that 0=inf. */
 
+/* Following are forward declarations for structures in commrec.h */
+typedef struct t_commrec t_commrec;
+typedef struct gmx_domdec_t gmx_domdec_t;
+typedef struct gmx_multisim_t gmx_multisim_t;
+typedef struct gmx_domdec_zones_t gmx_domdec_zones_t;
+typedef struct gmx_ddbox_t gmx_ddbox_t;
+
 #ifdef __cplusplus
 }
 #endif