roktas/apue2e — pull request #2 by apeiron (2012-01-22 05:03:37+00:00)
Title: Fix building on FreeBSD.

References:
http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/173243.html

I needed to make these changes to build on FreeBSD.