[m-rev.] trivial diff: fix missng #include in deep profiler

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Jun 12 11:16:30 AEST 2001


Estimated hours taken: 0.1
Branches: main

deep_profiling/server.m:
	Fix a bug that broke things with --target asm:
	#include <stdio.h> and <stdlib.h>.

Workspace: /mnt/mars/home/mars/fjh/ws1/mercury

cvs diff: Diffing .
Index: server.m
===================================================================
RCS file: /home/mercury1/repository/mercury/deep_profiler/server.m,v
retrieving revision 1.2
diff -u -d -u -r1.2 server.m
--- server.m	2001/06/05 04:47:32	1.2
+++ server.m	2001/06/12 01:12:03
@@ -108,6 +108,8 @@
 		Debug, 0, Deep).
 
 :- pragma foreign_decl("C", "
+#include <stdio.h>
+#include <stdlib.h>
 #include <unistd.h>
 ").
 
-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  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