31 lines
721 B
Text
31 lines
721 B
Text
|
$NetBSD: patch-ae,v 1.1 2005/12/07 15:07:23 joerg Exp $
|
||
|
|
||
|
--- fvwm/module.c.orig 2005-12-06 14:27:05.000000000 +0000
|
||
|
+++ fvwm/module.c
|
||
|
@@ -16,6 +16,7 @@
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <unistd.h>
|
||
|
+#include <errno.h>
|
||
|
#include <signal.h>
|
||
|
#include <string.h>
|
||
|
#include <fcntl.h>
|
||
|
@@ -596,9 +597,6 @@ void SendName(int module, unsigned long
|
||
|
free(body);
|
||
|
}
|
||
|
|
||
|
-
|
||
|
-
|
||
|
-#include <sys/errno.h>
|
||
|
FVWM_INLINE int PositiveWrite(int module, unsigned long *ptr, int size)
|
||
|
{
|
||
|
if((pipeOn[module]<0)||(!((PipeMask[module]) & ptr[1])))
|
||
|
@@ -651,7 +649,6 @@ void FlushQueue(int module)
|
||
|
char *dptr;
|
||
|
struct queue_buff_struct *d;
|
||
|
int a;
|
||
|
- extern int errno;
|
||
|
|
||
|
if((pipeOn[module] <= 0)||(pipeQueue[module] == NULL))
|
||
|
return;
|