#include "config.h"
-#include "typedefs.h"
-#include "macros.h"
-#include "inputrec.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/legacyheaders/inputrec.h"
#include "gromacs/utility/fatalerror.h"