aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"