Define __compar_d_fn_t. Declare qsort_r.