#include <math.h>
-#include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/macros.h"
-#include "gromacs/math/vec.h"
-#include "gromacs/pbcutil/pbc.h"
-#include "gromacs/legacyheaders/viewit.h"
-#include "gromacs/utility/futil.h"
+#include "gromacs/commandline/pargs.h"
#include "gromacs/fileio/tpxio.h"
#include "gromacs/fileio/trxio.h"
-#include "gromacs/topology/index.h"
-#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/fileio/xvgr.h"
+#include "gromacs/gmxana/gmx_ana.h"
+#include "gromacs/gmxana/gstat.h"
#include "gromacs/legacyheaders/coulomb.h"
-#include "gstat.h"
-#include "gmx_ana.h"
+#include "gromacs/legacyheaders/macros.h"
#include "gromacs/legacyheaders/names.h"
-
-#include "gromacs/commandline/pargs.h"
-#include "gromacs/fileio/xvgr.h"
+#include "gromacs/legacyheaders/nrnb.h"
+#include "gromacs/legacyheaders/typedefs.h"
+#include "gromacs/legacyheaders/viewit.h"
+#include "gromacs/math/vec.h"
+#include "gromacs/pbcutil/pbc.h"
#include "gromacs/pbcutil/rmpbc.h"
+#include "gromacs/topology/index.h"
#include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
#include "gromacs/utility/smalloc.h"
static void check_box_c(matrix box)