$NetBSD: patch-ak,v 1.1 2005/12/06 14:09:39 joerg Exp $

--- src/afterstep/module.c.orig	2005-12-06 13:49:02.000000000 +0000
+++ src/afterstep/module.c
@@ -700,9 +700,6 @@ SendName (int module, unsigned long even
   free (body);
 }
 
-
-
-#include <sys/errno.h>
 AFTER_INLINE int
 PositiveWrite (int module, unsigned long *ptr, int size)
 {
@@ -772,7 +769,6 @@ FlushQueue (int module)
   char *dptr;
   struct queue_buff_struct *d;
   int a;
-  extern int errno;
 
   if ((Module[module].active <= 0) || (Module[module].output_queue == NULL))
     return;
