Remove unnecessary config.h includes
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / protonate.c
index 818e8cff7dfd0c3ddb234c5991f510cad83269fe..5f1d99f6fce8a97de85e82d2696333337f8fbe78 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 "protonate.h"
+#include "gmxpre.h"
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "protonate.h"
 
 #include <math.h>
-#include "string2.h"
-#include "typedefs.h"
-#include "macros.h"
-#include "smalloc.h"
+#include "gromacs/utility/cstringutil.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/macros.h"
+#include "gromacs/utility/smalloc.h"
 #include "gromacs/commandline/pargs.h"
 #include "gromacs/fileio/confio.h"
 #include "genhydro.h"
 #include "gromacs/fileio/tpxio.h"
 #include "gromacs/fileio/trxio.h"
-#include "index.h"
-#include "vec.h"
+#include "gromacs/topology/index.h"
+#include "gromacs/math/vec.h"
 #include "hackblock.h"
 
+#include "gromacs/utility/fatalerror.h"
+
 int gmx_protonate(int argc, char *argv[])
 {
     const char     *desc[] = {