fix compilation on musl

this should allow for compilation on musl libc

possibly fixes #150
This commit is contained in:
classabbyamp 2022-05-23 21:04:04 -04:00
parent e82b55f405
commit e81b5ea067
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
1 changed files with 0 additions and 4 deletions

View File

@ -4113,11 +4113,7 @@ static void decode_tocall (decode_aprs_t *A, char *dest)
* models before getting to the more generic APY.
*/
#if defined(__WIN32__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__APPLE__)
qsort (tocalls, num_tocalls, sizeof(struct tocalls_s), tocall_cmp);
#else
qsort (tocalls, num_tocalls, sizeof(struct tocalls_s), (__compar_fn_t)tocall_cmp);
#endif
}
else {
if ( ! A->g_quiet) {