diff options
Diffstat (limited to 'Examples/guile/matrix/example.i')
-rw-r--r-- | Examples/guile/matrix/example.i | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Examples/guile/matrix/example.i b/Examples/guile/matrix/example.i index 3f801dcdf..6f8fa8859 100644 --- a/Examples/guile/matrix/example.i +++ b/Examples/guile/matrix/example.i @@ -14,4 +14,8 @@ %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); |