summaryrefslogtreecommitdiff
path: root/chat/zephyr/patches/patch-am
blob: 32ce4298da7d247e5814ebf769d6083d23b38459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-am,v 1.1 2006/06/04 13:42:10 joerg Exp $

--- zwgc/main.c.orig	2006-04-25 15:31:09.000000000 +0000
+++ zwgc/main.c
@@ -21,4 +21,5 @@ static const char rcsid_main_c[] = "$Id:
 #endif
 
+#include <errno.h>
 #include <netdb.h>
 #include <sys/socket.h>
@@ -449,5 +450,4 @@ static RETSIGTYPE signal_child()
   union wait status;
 #endif
-  extern int errno;
   int pid, old_errno = errno;