My previous request to fix log2 missing in freebsd was added - with one change being moved to fmath.h. This move misses the include of sys/param.h needed to define __FreeBSD_version. While Ptexture.h gets it indirectly it would be better to explicitly include it there also.
You can merge this Pull Request by running: git pull https://github.com/sambler/oiio master Or you can view, comment on it, or merge it online at: https://github.com/OpenImageIO/oiio/pull/374 -- Commit Summary -- * Add log2 patches from ports needed to compile on FreeBSD < 8.3 * Change fmath.h to math.h * Fix detection of log2 function existence * Merge remote-tracking branch 'upstream/master' * Add include <sys/param.h> * Remove previous change - upstream moved this to fmath.h -- File Changes -- M src/include/fmath.h (4) M src/ptex.imageio/ptex/Ptexture.h (4) -- Patch Links -- https://github.com/OpenImageIO/oiio/pull/374.patch https://github.com/OpenImageIO/oiio/pull/374.diff --- Reply to this email directly or view it on GitHub: https://github.com/OpenImageIO/oiio/pull/374 _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
