blob: b5d2e8a7d61715db487407ab6480aeee09cb5e70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- util/qsort_r.c.orig 2009-07-10 20:09:49.000000000 +0100
+++ util/qsort_r.c 2009-07-10 20:11:41.000000000 +0100
@@ -65,7 +65,7 @@
int (*compar)(void *, const void *, const void *))
{
#ifdef HAVE_QSORT_R
- qsort_r(base_, nmemb, size, thunk, compar);
+#include <stdlib.h>
#else
char *base = (char *) base_;
if (nmemb < 10) { /* use O(nmemb^2) algorithm for small enough nmemb */
|