diff --git a/src/decode_aprs.c b/src/decode_aprs.c index 3afa3773..f25c33de 100644 --- a/src/decode_aprs.c +++ b/src/decode_aprs.c @@ -3930,11 +3930,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) { diff --git a/src/direwolf.h b/src/direwolf.h index efc329ba..ca122669 100644 --- a/src/direwolf.h +++ b/src/direwolf.h @@ -282,7 +282,7 @@ char *strtok_r(char *str, const char *delim, char **saveptr); char *strcasestr(const char *S, const char *FIND); -#if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__APPLE__) +#if ! defined(__GLIBC__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__APPLE__) // strlcpy and strlcat should be in string.h and the C library.