* To help us fund GROMACS development, we humbly ask that you cite
* the research papers on the package. Check out http://www.gromacs.org.
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
+#include "gmxpre.h"
-#include "typedefs.h"
#include "xdrf.h"
-#include "gmx_fatal.h"
+
+#include "gromacs/math/vectypes.h"
+#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
int xdr_real(XDR *xdrs, real *r)
imaj = (int)imaj64;
imin = (int)imin64;
ret = xdr_int(xdrs, &imaj);
- ret = xdr_int(xdrs, &imin);
+ ret |= xdr_int(xdrs, &imin);
*i = (((gmx_int64_t)imaj << 32) | ((gmx_int64_t)imin & two_p32_m1));