diff options
Diffstat (limited to 'lang/perl5.16/files/patch-SDBM-errno-fix')
-rw-r--r-- | lang/perl5.16/files/patch-SDBM-errno-fix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/perl5.16/files/patch-SDBM-errno-fix b/lang/perl5.16/files/patch-SDBM-errno-fix new file mode 100644 index 000000000000..2dcf809d92d3 --- /dev/null +++ b/lang/perl5.16/files/patch-SDBM-errno-fix @@ -0,0 +1,16 @@ +--- ext/SDBM_File/sdbm/sdbm.c.orig Thu Jun 23 08:06:21 2005 ++++ ext/SDBM_File/sdbm/sdbm.c Thu Jun 23 08:06:57 2005 +@@ -34,11 +34,8 @@ + /* + * externals + */ +-#ifndef WIN32 +-#ifndef sun +-extern int errno; +-#endif +-#endif ++ ++#include <errno.h> + + extern Malloc_t malloc proto((MEM_SIZE)); + extern Free_t free proto((Malloc_t)); |