Sorry, my patch caused compile error. I didn't make sure the availability on
other OS X version (my env is 10.8.x).
I replaced proc_bsdshortinfo by proc_bsdinfo, which exists on 10.5 and later.
https://gist.github.com/ichizok/5289677/raw/da84bc2bcc0578b2df0222c01f831c0fd50d1b45/osdep-datwin.c.pat
The MacPorts project has come up with a different approach to fixing
the 1.8 build on OS X 10.6: use proc_bsdinfo instead of
proc_bsdshortinfo. The former looks to be a superset of the latter
(based on the struct declarations), and it looks like it has been
around since 10.5.
https://trac.macp