summaryrefslogtreecommitdiff
path: root/src/shared/qsort_r_missing.h
Commit message (Collapse)AuthorAge
* Prep v240: Add check for qsort_r() and the function if not provided.Sven Eden2018-11-08
As elogind supports musl-libc, we have to remedy the situation that upstream decided to make use of qsort_r(). This function is not provided by musl-libc, so we have to provide an own variant. The variant is an adaption of the qsort_r() algorithm found in glibc-2.28, the disclaimer from their source files have been added. Bug: #83 Signed-off-by: Sven Eden <sven.eden@prydeworx.com>