2013-09-26 17:14:40 +02:00

17 lines
401 B
Plaintext

$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;