X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/cb50131aab68ac6dda048612c6e853b8cb08701e..e1992b6d91e50ab66a903c570e8d9c48f121f34b:/unixish.h diff --git a/unixish.h b/unixish.h index 492b24a..1168d29 100644 --- a/unixish.h +++ b/unixish.h @@ -116,7 +116,10 @@ /* these should be set in a hint file, not here */ #ifndef PERL_SYS_INIT -#ifdef PERL_SCO5 +#if defined(PERL_SCO5) || defined(__FreeBSD__) +# ifdef __FreeBSD__ +# include +# endif # define PERL_SYS_INIT(c,v) fpsetmask(0); MALLOC_INIT #else # ifdef POSIX_BC @@ -132,7 +135,7 @@ #endif #ifndef PERL_SYS_TERM -#define PERL_SYS_TERM() MALLOC_TERM +#define PERL_SYS_TERM() OP_REFCNT_TERM; MALLOC_TERM #endif #define BIT_BUCKET "/dev/null"