Add #include <stdio.h>.

Estimated hours taken: 0.25

library/math.m:
library/require.m:
	Add #include <stdio.h>.
This commit is contained in:
Fergus Henderson
1997-02-08 17:19:16 +00:00
parent 5eb04ce069
commit b27166f31d
2 changed files with 4 additions and 0 deletions

View File

@@ -189,6 +189,8 @@
:- pragma(c_code, "
#include <stdio.h>
/*
** Handle domain errors.
*/

View File

@@ -47,6 +47,8 @@ require(Goal, Message) :-
/* error/1, from require.m */
:- pragma(c_header_code, "#include <stdio.h>").
:- pragma(c_code, error(Message::in), "
fflush(stdout);
fprintf(stderr, ""Software error: %s\\n"", Message);