#define GMX_FILEIO_TRAJECTORY_WRITING_H
#include <stdio.h>
-#include "filenm.h"
-#include "mdoutf.h"
-#include "../legacyheaders/typedefs.h"
-#include "../legacyheaders/mdebin.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"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
/*! \brief Wrapper routine for writing trajectories during mdrun
*
);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* GMX_FILEIO_TRAJECTORY_WRITING_H */