diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2005-05-23 07:48:08 -0400 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2005-05-23 15:29:01 +0000 |
commit | 81770b0cc0ed763d048a9cb4877bc8e70bb815fa (patch) | |
tree | ee4818118fdf8a97d9a58f140eaecbbfe5a66a47 /ext/SDBM_File | |
parent | 2dfd8427393aecf9e4f0fdf1f999b249b467815c (diff) | |
download | perl-81770b0cc0ed763d048a9cb4877bc8e70bb815fa.tar.gz |
Re: [perl #35938] [PATCH] SDBM_File fails to build on some platforms due to use of 'extern int errno' (was: Re: patches for lang/perl5.8 dfport override)
Message-ID: <Pine.SOC.4.62.0505231143480.4714@maxwell.phys.lafayette.edu>
p4raw-id: //depot/perl@24554
Diffstat (limited to 'ext/SDBM_File')
-rw-r--r-- | ext/SDBM_File/sdbm/sdbm.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ext/SDBM_File/sdbm/sdbm.c b/ext/SDBM_File/sdbm/sdbm.c index f705db58af..cc6d0e9b39 100644 --- a/ext/SDBM_File/sdbm/sdbm.c +++ b/ext/SDBM_File/sdbm/sdbm.c @@ -34,11 +34,9 @@ /* * externals */ -#ifndef WIN32 -#ifndef sun -extern int errno; -#endif -#endif + +#include <errno.h> /* See notes in perl.h about avoiding + extern int errno; */ extern Malloc_t malloc proto((MEM_SIZE)); extern Free_t free proto((Malloc_t)); |