]> Savannah Git Hosting - gnulib.git/commitdiff
qsort_r: include <config.h>
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 16 Sep 2014 19:26:48 +0000 (12:26 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 16 Sep 2014 19:27:08 +0000 (12:27 -0700)
Problem reported by Tom G. Christensen in:
http://lists.gnu.org/archive/html/bug-gnulib/2014-09/msg00071.html
* lib/qsort.c [!_LIBC]: Include <config.h> first.

ChangeLog
lib/qsort.c

index fbdc9030466560ea6789b13cd7249abbb95efa9a..58a65117845a85f751d342c9f2b6fec1ff0d234b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2014-09-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       qsort_r: include <config.h>
+       Problem reported by Tom G. Christensen in:
+       http://lists.gnu.org/archive/html/bug-gnulib/2014-09/msg00071.html
+       * lib/qsort.c [!_LIBC]: Include <config.h> first.
+
 2014-09-16  Dylan Cali  <calid1984@gmail.com>
 
        avltree-list: avoid compiler warnings (trivial)
index a6c33eba7d19dd71553005fca3d2f41759c5f212..8dd4ff1d7168bebc32890d06021aba09a8459b7b 100644 (file)
    Engineering a sort function; Jon Bentley and M. Douglas McIlroy;
    Software - Practice and Experience; Vol. 23 (11), 1249-1265, 1993.  */
 
+#ifndef _LIBC
+# include <config.h>
+#endif
+
 #include <limits.h>
 #include <stdlib.h>
 #include <string.h>