#include <string.h>
#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/fatalerror.h"
-#include "txtdump.h"
-#include "names.h"
+#include "gromacs/legacyheaders/txtdump.h"
+#include "gromacs/legacyheaders/names.h"
#include "gromacs/utility/futil.h"
#include "trnio.h"
#include "gmxfio.h"