aboutsummaryrefslogtreecommitdiff
path: root/gdb/mcheck.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1991-09-20 22:03:49 +0000
committerPer Bothner <per@bothner.com>1991-09-20 22:03:49 +0000
commitab1e12a22ef7f8d43f423fef33dbe482099c805f (patch)
treecc68aec36fa1ae92a1fd9db94a904b771dcd3f6e /gdb/mcheck.c
parent30c52cdf23c167bb7e6ba3c9770852746b3b2dbc (diff)
downloadgdb-ab1e12a22ef7f8d43f423fef33dbe482099c805f.zip
gdb-ab1e12a22ef7f8d43f423fef33dbe482099c805f.tar.gz
gdb-ab1e12a22ef7f8d43f423fef33dbe482099c805f.tar.bz2
Kludge to allow compilation by non-ANSI compilers.
Diffstat (limited to 'gdb/mcheck.c')
-rwxr-xr-xgdb/mcheck.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/mcheck.c b/gdb/mcheck.c
index 309fcfd..497bab2 100755
--- a/gdb/mcheck.c
+++ b/gdb/mcheck.c
@@ -20,6 +20,10 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "ansidecl.h"
+#define size_t unsigned int
+#define ptrdiff_t int
+#define NULL 0
+#define __ONEFILE
#include "gmalloc.h"
/* Old hook values. */