aboutsummaryrefslogtreecommitdiff
path: root/lang/perl5.16/files/patch-SDBM-errno-fix
blob: 2dcf809d92d3d9001c05fb1bd1260ed2be112d4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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));