$NetBSD: patch-aj,v 1.1 2006/01/27 17:33:55 joerg Exp $

--- tcpdchk.c.orig	2006-01-27 17:28:34.000000000 +0000
+++ tcpdchk.c
@@ -25,14 +25,13 @@ static char sccsid[] = "@(#) tcpdchk.c 1
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <syslog.h>
 #include <setjmp.h>
 #include <errno.h>
 #include <netdb.h>
 #include <string.h>
 
-extern int errno;
-extern void exit();
 extern int optind;
 extern char *optarg;
 
