Fix compilation on Mac 10.6 and 10.7
GIMP version:
Operating System: MacOS 10.6 10.7
Package: building in MacPorts
Description of the bug
The code does not compile on older versions of MacOS, but in MacPorts we are trying to support that. With the attached patches, it compiles and works fine on both 10.6 and 10.7 (as of version 2.10.2)