summaryrefslogtreecommitdiff
path: root/math/rlab/patches/patch-aj
blob: 5d138b32aeba9d1c6b7068c5ac6f8eb6fa7ac044 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aj,v 1.2 2003/07/02 20:39:18 jtb Exp $

--- main.c.orig
+++ main.c
@@ -239,7 +239,7 @@
  * ************************************************************** */
 
 #ifdef HAVE_GC
-#include "gc_private.h"
+#include <gc.h>
 
 int real_main (int argc, char *argv[]);
 
@@ -248,7 +248,7 @@
 {
   int dummy;
   
-  GC_stackbottom = (ptr_t)(&dummy);
+  GC_stackbottom = (char *)(&dummy);
   return(real_main(argc, argv));
 }
 #endif  /* HAVE_GC */