Fix guile examples for C11 and later conformance
This commit is contained in:
parent
47d39ed3d8
commit
e6b6fa93aa
1 changed files with 5 additions and 1 deletions
|
|
@ -14,4 +14,8 @@
|
||||||
|
|
||||||
%include math.i
|
%include math.i
|
||||||
|
|
||||||
extern double drand48();
|
%{
|
||||||
|
/* Add drand48 declaration as it is posix only and is not in stdlib.h when using strict c99 and later */
|
||||||
|
extern double drand48(void);
|
||||||
|
%}
|
||||||
|
extern double drand48(void);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue