Made get_my_pid() to work on all FreeBSD platforms, not only FreeBSD-6.
Made get_my_pid() to work on all FreeBSD platforms, not only
FreeBSD-6.

tiborsimko/invenio,inveniosoftware/invenio,tiborsimko/invenio,inveniosoftware/invenio