asort: Use qsort_r if the system provides it.
authorAndreas Schlick <schlick@lavabit.com>
Sat, 2 Apr 2011 01:30:08 +0000 (12:00 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 2 Apr 2011 01:30:08 +0000 (12:00 +1030)
commite8c85e38cc6e0094c8d9e286e1706756035b95e0
tree924d86563397742805f30b6054e499e1eaf0cd84
parent4c00ae05fa9ccac14883c44de158620e301ff8e6
asort: Use qsort_r if the system provides it.

tools/ccanlint/file_analysis.c needs to include config.h to set _GNU_SOURCE
before any other header file includes stdlib.h.
ccan/asort/asort.c
ccan/asort/asort.h
tools/ccanlint/file_analysis.c