--- src/gle/surface/ffitcontour.cpp.orig 2015-08-16 02:51:24.000000000 -0500 +++ src/gle/surface/ffitcontour.cpp 2018-01-17 20:40:01.000000000 -0600 @@ -43,7 +43,7 @@ /* "f2c.h" defines abs() -- conflict with the definition in */ /* changing the order solves the problem */ -#if ( defined(__OS2__) && defined(__EMX__) ) || defined(__WIN32__) +#if ( defined(__OS2__) && defined(__EMX__) ) || defined(__WIN32__) || defined(__APPLE__) #include #include #include "f2c.h"