blob: bdc4e80c6253914caaa73a79ce84da97d20fbf7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
$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;
|