X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libiberty%2Fsort.c;h=90c97e04e07f2525cbd8370c49e2ede049d83f5b;hb=08d5ae10da2b46cb60d0307b1aab3aec3806ed0c;hp=4fd3ef9b98ee40bc5fbc22ee344bd79339d90780;hpb=9517f453ced39194d0c300785220fd49df4f6df1;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libiberty/sort.c b/libiberty/sort.c index 4fd3ef9b98e..90c97e04e07 100644 --- a/libiberty/sort.c +++ b/libiberty/sort.c @@ -24,10 +24,22 @@ Boston, MA 02111-1307, USA. */ #endif #include "libiberty.h" #include "sort.h" +#ifdef HAVE_LIMITS_H #include +#endif +#ifdef HAVE_SYS_PARAM_H +#include +#endif #ifdef HAVE_STDLIB_H #include #endif +#ifdef HAVE_STRING_H +#include +#endif + +#ifndef UCHAR_MAX +#define UCHAR_MAX ((unsigned char)(-1)) +#endif /* POINTERS and WORK are both arrays of N pointers. When this function returns POINTERS will be sorted in ascending order. */