$NetBSD: patch-aa,v 1.6 2016/05/01 19:30:58 dholland Exp $

Don't declare own errno.

--- src/afterstep/module.c.orig	2005-12-06 12:58:56.000000000 +0000
+++ src/afterstep/module.c
@@ -33,6 +33,7 @@
 
 #include <signal.h>
 #include <stdarg.h>
+#include <errno.h>
 #include <fcntl.h>
 #include <unistd.h>
 #include <sys/file.h>
@@ -380,7 +381,6 @@ LOCAL_DEBUG_OUT( "deleting buffer %p sen
 int
 FlushQueue (module_t *module)
 {
-	extern int    errno;
     int           fd;
     register struct queue_buff_struct *curr;
 
@@ -471,7 +471,6 @@ FlushAllQueues()
 
 
 
-#include <sys/errno.h>
 static inline int
 PositiveWrite (unsigned int channel, send_data_type *ptr, int size)
 {
