Use a standard header instead of redefining size_t. Modified: trunk/reactos/lib/rtl/qsort.c _____
Modified: trunk/reactos/lib/rtl/qsort.c --- trunk/reactos/lib/rtl/qsort.c 2005-11-22 00:15:47 UTC (rev 19435) +++ trunk/reactos/lib/rtl/qsort.c 2005-11-22 00:16:37 UTC (rev 19436) @@ -38,6 +38,8 @@
* PROGRAMMER: Adapted from CygWin newlib 2000-03-12. */
+#include <stddef.h> + #ifndef __GNUC__ #define inline #endif @@ -45,7 +47,6 @@ /* FIXME: these types should be from the default includes */
typedef int (* _pfunccmp_t) (char *, char *); -typedef int size_t;
#define min(a,b) ((a)<(b)?(a):(b))