summaryrefslogtreecommitdiff
path: root/chat/zephyr/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'chat/zephyr/patches/patch-am')
-rw-r--r--chat/zephyr/patches/patch-am16
1 files changed, 16 insertions, 0 deletions
diff --git a/chat/zephyr/patches/patch-am b/chat/zephyr/patches/patch-am
new file mode 100644
index 00000000000..32ce4298da7
--- /dev/null
+++ b/chat/zephyr/patches/patch-am
@@ -0,0 +1,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;
+