#include <stdio.h>
-#include "../legacyheaders/types/commrec_fwd.h"
-#include "../legacyheaders/mdebin.h"
-#include "../timing/wallcycle.h"
+#include "gromacs/fileio/filenm.h"
+#include "gromacs/fileio/mdoutf.h"
+#include "gromacs/legacyheaders/mdebin.h"
+#include "gromacs/legacyheaders/types/commrec_fwd.h"
+#include "gromacs/timing/wallcycle.h"
-#include "filenm.h"
-#include "mdoutf.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
/*! \brief Wrapper routine for writing trajectories during mdrun
*
gmx_ekindata_t *ekind,
rvec *f,
rvec *f_global,
- gmx_wallcycle_t wcycle,
int *nchkpt,
gmx_bool bCPT,
gmx_bool bRerunMD,
);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* GMX_FILEIO_TRAJECTORY_WRITING_H */