$NetBSD: patch-ae,v 1.8 2006/01/15 20:07:42 joerg Exp $

--- src/Ghostview.c.orig	2006-01-15 20:00:42.000000000 +0000
+++ src/Ghostview.c
@@ -88,8 +88,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)
