projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dfd842
)
Re: [perl #35938] [PATCH] SDBM_File fails to build on some platforms due to use of...
author
Andy Dougherty
<doughera@lafayette.edu>
Mon, 23 May 2005 11:48:08 +0000
(07:48 -0400)
committer
H.Merijn Brand
<h.m.brand@xs4all.nl>
Mon, 23 May 2005 15:29:01 +0000
(15:29 +0000)
Message-ID: <Pine.SOC.4.62.
0505231143480
.4714@maxwell.phys.lafayette.edu>
p4raw-id: //depot/perl@24554
ext/SDBM_File/sdbm/sdbm.c
patch
|
blob
|
history
diff --git
a/ext/SDBM_File/sdbm/sdbm.c
b/ext/SDBM_File/sdbm/sdbm.c
index
f705db5
..
cc6d0e9
100644
(file)
--- 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));