$NetBSD: patch-ap,v 1.3 2005/12/29 13:56:51 joerg Exp $

--- src/buffer.c.orig	2005-12-29 13:29:35.000000000 +0000
+++ src/buffer.c
@@ -27,10 +27,6 @@ Boston, MA 02111-1307, USA.  */
 #include <errno.h>
 #include <stdio.h>
 
-#ifndef USE_CRT_DLL
-extern int errno;
-#endif
-
 #ifndef MAXPATHLEN
 /* in 4.1, param.h fails to define this. */
 #define MAXPATHLEN 1024
