Remove unnecessary config.h includes
[alexxy/gromacs.git] / src / gromacs / fileio / enxio.c
index 8f164e63336e8670dbf740abd3f599cd1bd3d690..d6dce5f4ab98e589d84a9c33cf08f3a2d5f0cf36 100644 (file)
  * To help us fund GROMACS development, we humbly ask that you cite
  * the research papers on the package. Check out http://www.gromacs.org.
  */
-#include "enxio.h"
+#include "gmxpre.h"
 
-#include "config.h"
+#include "enxio.h"
 
 #include <stdlib.h>
 #include <string.h>
 
 #include "gromacs/utility/futil.h"
-#include "macros.h"
+#include "gromacs/legacyheaders/macros.h"
 
 #include "gromacs/fileio/gmxfio.h"
 #include "gromacs/fileio/xdrf.h"
@@ -375,7 +375,7 @@ static void edr_strings(XDR *xdr, gmx_bool bRead, int file_version,
         }
         else
         {
-            nm->unit = strdup("kJ/mol");
+            nm->unit = gmx_strdup("kJ/mol");
         }
     }
 }