From 0ab4bf1143cdd709b3d704157b9d650eab40591a Mon Sep 17 00:00:00 2001 From: SpaceIm <30052553+SpaceIm@users.noreply.github.com> Date: Sun, 11 Aug 2024 20:55:26 +0200 Subject: [PATCH] add missing include of stddef.h in IPhreeqc.h if no fortran module when IPHREEQC_NO_FORTRAN_MODULE is defined, the type of the last parameter of SetBasicFortranCallback is size_t, which is defined in stddef.h --- src/IPhreeqc.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/IPhreeqc.h b/src/IPhreeqc.h index 4c04c426..62d99029 100644 --- a/src/IPhreeqc.h +++ b/src/IPhreeqc.h @@ -6,6 +6,10 @@ #include "Var.h" +#ifdef IPHREEQC_NO_FORTRAN_MODULE +#include +#endif + /** * @mainpage IPhreeqc Library Documentation (@PHREEQC_VER@-@REVISION_SVN@) *