This makes the package build on Darwin. Patch from DarwinPorts. The modified header file is used internally, and never installed. So no visible changes to dependent packages.