Clean up gmxfio includes
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_dyecoupl.c
index 0513f8f8a63f76033f60ebbe177b1378fed0ff83..2f985fa6e5469bbc262807293270a8d2dbadceca 100644 (file)
@@ -45,6 +45,7 @@
 #include "gromacs/pbcutil/pbc.h"
 #include "gromacs/topology/index.h"
 #include "gromacs/utility/fatalerror.h"
+#include "gromacs/utility/futil.h"
 #include "gromacs/utility/smalloc.h"
 
 int gmx_dyecoupl(int argc, char *argv[])
@@ -227,7 +228,7 @@ int gmx_dyecoupl(int argc, char *argv[])
 
             if (bDatout)
             {
-                datfp = fopen(out_datfile, "w");
+                datfp = gmx_ffopen(out_datfile, "w");
             }
 
             if (bRKout)