aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-05-03 06:04:13 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-05-03 06:04:13 +0000
commit7b54d319afadba96914b9c642c068894ac3f7d86 (patch)
tree822fce5ded9099137f3eaed75cb8b70457c5743a /gdb
parent2cb3be2c94583077d7555d1934888832ab8481ce (diff)
downloadgdb-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-xgdb/mtrace.c7
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"