Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / legacyheaders / gmx_omp_nthreads.h
index 4c30d7e7d268a0d2c69d202edf6454c1142b1ecc..1b7380fdb616733b436c40e16168f0f6e00383ba 100644 (file)
@@ -37,7 +37,8 @@
 #define GMX_OMP_NTHREADS_H
 
 #include <stdio.h>
-#include "typedefs.h"
+
+#include "gromacs/utility/basedefinitions.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -46,6 +47,8 @@ extern "C" {
 }
 #endif
 
+struct t_commrec;
+
 /** Enum values corresponding to multithreaded algorithmic modules. */
 typedef enum module_nth
 {
@@ -62,7 +65,7 @@ typedef enum module_nth
  * It is compatible with tMPI, thread-safety is ensured (for the features
  * available with tMPI).
  * This function should caled only once during the initialization of mdrun. */
-void gmx_omp_nthreads_init(FILE *fplog, t_commrec *cr,
+void gmx_omp_nthreads_init(FILE *fplog, struct t_commrec *cr,
                            int nthreads_hw_avail,
                            int omp_nthreads_req,
                            int omp_nthreads_pme_req,