options/ansi: Define comparison_fn_t if glibc is enabled
@@ -108,6 +108,10 @@ int wctomb(char *mb_chr, wchar_t wc);
size_t mbstowcs(wchar_t *__restrict wc_string, const char *__restrict mb_string, size_t max_size);
size_t wcstombs(char *mb_string, const wchar_t *__restrict wc_string, size_t max_size);
+#if __MLIBC_GLIBC_OPTION
+typedef int (*comparison_fn_t) (const void *, const void *);
+#endif
+
#ifdef __cplusplus
}
#endif
