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

--- src/Ghostview.c.orig	2006-07-04 21:09:52.000000000 +0200
+++ src/Ghostview.c
@@ -83,8 +83,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)
