Used IWYU to partially clean up some includes
[alexxy/gromacs.git] / src / gromacs / legacyheaders / types / commrec.h
index 4486c847b6c9ee1923c96fe49c49600628132bba..cfc7669a2f1876d0bbd9b55985d4fe15c1ad97ea 100644 (file)
 #ifndef _commrec_h
 #define _commrec_h
 
-#include "gromacs/legacyheaders/typedefs.h"
+#include <stddef.h>
+
+#include "gromacs/legacyheaders/types/commrec_fwd.h" // IWYU pragma: export
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/basedefinitions.h"
 #include "gromacs/utility/gmxmpi.h"
+#include "gromacs/utility/real.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -268,12 +273,12 @@ struct t_commrec {
     gmx_nodecomm_t nc;
 
     /* For domain decomposition */
-    gmx_domdec_t *dd;
+    struct gmx_domdec_t *dd;
 
     /* The duties of this node, see the defines above */
-    int             duty;
+    int                    duty;
 
-    gmx_multisim_t *ms;
+    struct gmx_multisim_t *ms;
 
     /* these buffers are used as destination buffers if MPI_IN_PLACE isn't
        supported.*/