[m-rev.] trivial diff: fix compilation of the posix binding

Julien Fischer juliensf at csse.unimelb.edu.au
Fri Jul 28 15:14:03 AEST 2006


Estimated hours taken: 0
Branches: main, release

extras/posix/posix.exec.m:
 	Fix compilation of the posix binding by conforming to
 	recent changes in the stdlib.

Julien.

Index: posix.exec.m
===================================================================
RCS file: /home/mercury1/repository/mercury/extras/posix/posix.exec.m,v
retrieving revision 1.1
diff -u -r1.1 posix.exec.m
--- posix.exec.m	16 Jul 2001 03:08:18 -0000	1.1
+++ posix.exec.m	28 Jul 2006 05:12:01 -0000
@@ -25,11 +25,10 @@

  :- implementation.

-:- import_module array, std_util.
+:- import_module array.
+:- import_module pair.

-:- pragma c_header_code("
-	#include <unistd.h>
-").
+:- pragma foreign_decl("C", "#include <unistd.h>").

  %------------------------------------------------------------------------------%


--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list