summaryrefslogtreecommitdiff
path: root/net/freewais-sf/patches/patch-ax
diff options
context:
space:
mode:
Diffstat (limited to 'net/freewais-sf/patches/patch-ax')
-rw-r--r--net/freewais-sf/patches/patch-ax17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/freewais-sf/patches/patch-ax b/net/freewais-sf/patches/patch-ax
new file mode 100644
index 00000000000..dbcd94e26dc
--- /dev/null
+++ b/net/freewais-sf/patches/patch-ax
@@ -0,0 +1,17 @@
+$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;