* mtrace.c: Don't typedef things like size_t, just #define them.
authorJim Kingdon <jkingdon@engr.sgi.com>
Fri, 3 May 1991 06:04:13 +0000 (06:04 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Fri, 3 May 1991 06:04:13 +0000 (06:04 +0000)
gdb/mtrace.c

index 2b8222f2857d1c6f0377c3864541d1b5def3b219..5e64304fc51b41e12deaf8f4f67b9503ab6c8cea 100755 (executable)
 
 #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"