$NetBSD: patch-ax,v 1.1 2000/10/02 11:14:28 jlam Exp $

--- lib/ir/udping.c.orig	Fri Apr 16 05:59:39 1999
+++ lib/ir/udping.c
@@ -34,10 +34,8 @@
 #define UDP_HOST_NO "129.217.20.172"
 #endif
 
-extern uid_t getuid();
-extern int socket();
-extern int sendto();
-extern int close();
+#include <unistd.h>		/* declarations for getuid(), close() */
+#include <sys/socket.h>	/* declarations for socket(), sendto() */
 
 static int iamhere(progname)
      char *progname;
