tvheadend/tvheadend — pull request #385 by ngilles (2014-05-01 07:47:19+00:00)
Title: Freebsd fixes

Added a qsort_r wrapper to account for differences between GNU and BSD qsort_r()s. Also changed a strdupa() to a variable length array.