Remove unnecessary config.h includes
[alexxy/gromacs.git] / src / gromacs / fileio / enxio.c
index 46ef9eaa11446ff4010dc8a35094856e479d91f3..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"
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#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"
@@ -377,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");
         }
     }
 }