[m-rev.] trivial diff: fix mercury_runtime_util.c

Peter Ross pro at missioncriticalit.com
Tue Oct 22 23:54:57 AEST 2002


Hi,


===================================================================


Estimated hours taken: 0.25
Branches: main

runtime/mercury_runtime_util.c:
	Add a missing MR_HAVE_UNISTD_H around #include of unistd.h.


Index: mercury_runtime_util.c
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_runtime_util.c,v
retrieving revision 1.2
diff -u -r1.2 mercury_runtime_util.c
--- mercury_runtime_util.c	13 Feb 2002 09:56:42 -0000	1.2
+++ mercury_runtime_util.c	22 Oct 2002 13:53:39 -0000
@@ -14,7 +14,11 @@
 #include	"mercury_runtime_util.h"
 
 #include	<stdio.h>
-#include	<unistd.h>
+
+#ifdef MR_HAVE_UNISTD_H
+  #include	<unistd.h>
+#endif
+
 #include	<errno.h>
 
 #ifndef MR_HAVE_STRERROR

--------------------------------------------------------------------------
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