[m-rev.] trivial diff: fix missing #include

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Sep 4 16:26:15 AEST 2002


Estimated hours taken: 0.25
Branches: main

Fix a bug which broke tests/hard_coded/foreign_type with --target asm.

mercury.h:
        #include "mercury_heap.h".

Index: mercury.h
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury.h,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- mercury.h	2002/08/21 11:27:40	1.61
+++ mercury.h	2002/09/04 06:24:47	1.62
@@ -34,6 +34,7 @@
 #include "mercury_memory.h"	/* for memory allocation routines */
 #include "mercury_type_tables.h"	/* for MR_register_type_ctor_info */
 #include "mercury_misc.h"		/* for MR_fatal_error() */
+#include "mercury_heap.h"	/* for MR_MAYBE_(UN)BOX_FOREIGN_TYPE() */
 
 #ifdef MR_CONSERVATIVE_GC
   #ifdef MR_MPS_GC

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list