Updated from a sligtly more recent BSD version.