$NetBSD: patch-ae,v 1.9 2006/10/23 12:29:56 tron Exp $

--- src/Ghostview.c.orig	2010-06-03 16:36:25.000000000 +0000
+++ src/Ghostview.c
@@ -87,8 +87,6 @@ typedef char *XPointer;
 #endif
 
 #include <errno.h>
-/* BSD 4.3 errno.h does not declare errno */
-extern int errno;
 /* Both error returns are checked for non-blocking I/O. */
 /* Manufacture the other error code if only one exists. */
 #if !defined(EWOULDBLOCK) && defined(EAGAIN)
