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

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

Thread Next
From:
Richard Soderberg
Date:
July 31, 2001 23:16
Subject:
[PATCH 1/4] -Wall cleanups: unixish.h
Message ID:
Pine.LNX.4.21.0107312313490.24341-100000@oregonnet.com
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.

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
 



Thread Next


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