diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-05-03 06:04:13 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-05-03 06:04:13 +0000 |
commit | 7b54d319afadba96914b9c642c068894ac3f7d86 (patch) | |
tree | 822fce5ded9099137f3eaed75cb8b70457c5743a /gdb | |
parent | 2cb3be2c94583077d7555d1934888832ab8481ce (diff) | |
download | gdb-7b54d319afadba96914b9c642c068894ac3f7d86.zip gdb-7b54d319afadba96914b9c642c068894ac3f7d86.tar.gz gdb-7b54d319afadba96914b9c642c068894ac3f7d86.tar.bz2 |
* mtrace.c: Don't typedef things like size_t, just #define them.
Diffstat (limited to 'gdb')
-rwxr-xr-x | gdb/mtrace.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/mtrace.c b/gdb/mtrace.c index 2b8222f..5e64304 100755 --- a/gdb/mtrace.c +++ b/gdb/mtrace.c @@ -22,6 +22,13 @@ #include <stdio.h> #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 <stdlib.h> #include "gmalloc.h" |