develooper Front page | perl.perl5.porters | Postings from August 2001

Re: [PATCH 1/4] -Wall cleanups: unixish.h

Thread Previous
From:
Jarkko Hietaniemi
Date:
August 1, 2001 06:52
Subject:
Re: [PATCH 1/4] -Wall cleanups: unixish.h
Message ID:
20010801085216.F4053@chaos.wustl.edu
On Tue, Jul 31, 2001 at 11:16:22PM -0700, Richard Soderberg wrote:
> This is the first in a series of patches designed to remove warnings from
> the compilation of Perl on FreeBSD-CURRENT, last updated Jun 19, 2001.
> 
> NetBSD seems to require the inclusion of signal.h for certain function
> prototypes.
> 
> Apparently FreeBSD is requiring the same.  Adding it to the list of
> operating systems that need to include this file resolves several warnings
> that result from the missing function definitions.

Thanks, applied.

> All tests passed.
> 
> R.
> 
> --- unixish.h~	Sun Jun 24 07:21:38 2001
> +++ unixish.h	Sat Jul 28 22:37:02 2001
> @@ -93,7 +93,7 @@
>   */
>  /* #define ALTERNATE_SHEBANG "#!" / **/
>  
> -#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX) || defined(__NetBSD__)
> +#if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX) || defined(__NetBSD__) || defined(__FreeBSD__)
>  # include <signal.h>
>  #endif
>  
> 

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About