1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/science/2dhf/files/patch-src+fmalloc.c
Maho Nakata b235f9c920 Added a Numerical Hartree-Fock Program for Diatomic Molecules.
This program package calcluates virtually exact solution of the
Hartree-Fock and Hartree-Fock-Salter equations for diatomic
molecules (distributed under GPL).
2003-07-24 09:50:24 +00:00

15 lines
308 B
C

--- src/fmalloc.c.orig Thu Jul 24 17:32:52 2003
+++ src/fmalloc.c Thu Jul 24 17:33:22 2003
@@ -15,7 +15,11 @@
#include <stdio.h>
#include <sys/types.h>
+#ifdef __FreeBSD__
+#include <stdlib.h>
+#else
#include <malloc.h>
+#endif
/*
bv: is an integer to contain the address to the reserved