28 lines
650 B
Text
28 lines
650 B
Text
$NetBSD: patch-aa,v 1.5 2005/12/06 13:14:06 joerg Exp $
|
|
|
|
--- 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)
|
|
{
|