noporpoise/sort_r — pull request #3 by dajobe (2014-07-01 20:24:38+00:00)
Title: Fix define check for FreeBSD

Also add other BSD defines that are likely needed.

(Aside: the makefile requires GNU Make; it doesn't work with FreeBSD's BSD make)