From: Jim Kingdon Date: Fri, 3 May 1991 06:04:13 +0000 (+0000) Subject: * mtrace.c: Don't typedef things like size_t, just #define them. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b54d319afadba96914b9c642c068894ac3f7d86;p=binutils-gdb.git * mtrace.c: Don't typedef things like size_t, just #define them. --- diff --git a/gdb/mtrace.c b/gdb/mtrace.c index 2b8222f2857..5e64304fc51 100755 --- a/gdb/mtrace.c +++ b/gdb/mtrace.c @@ -22,6 +22,13 @@ #include #include "ansidecl.h" + +/* size_t may be defined in the system-supplied stdio.h. */ +/* So just kludge it. */ +#define size_t unsigned int +#define ptrdiff_t int +#define __ONEFILE + #include #include "gmalloc.h"