$NetBSD: patch-ap,v 1.1 2005/12/27 13:47:11 joerg Exp $

--- tpmon/tpmon.c.orig	2005-12-18 20:32:14.000000000 +0000
+++ tpmon/tpmon.c
@@ -30,7 +30,7 @@
 #include <sys/types.h>
 #include <sys/param.h>
 #include <sys/socket.h>
-#include <sys/errno.h>
+#include <errno.h>
 #include <time.h>
 #include <sys/time.h>
 
@@ -47,7 +47,6 @@
 #include "osdefs.h"		/* definition of RAND */
 
 extern char *prognm;
-extern int errno;
 static int stoptest;		/* flag used by signal handler */
 
 /*
