From ee0c971f4f7ed5a3701b0db660700cf42ef808db Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 2 May 1999 16:53:00 +0000 Subject: Add missing prototypes to PTL's "include/arpa/inet.h". Patch supplied by Michael Graff in PR pkg/7507. --- devel/ptl2/patches/patch-ad | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 devel/ptl2/patches/patch-ad (limited to 'devel') diff --git a/devel/ptl2/patches/patch-ad b/devel/ptl2/patches/patch-ad new file mode 100644 index 00000000000..75e86c913fa --- /dev/null +++ b/devel/ptl2/patches/patch-ad @@ -0,0 +1,15 @@ +$NetBSD: patch-ad,v 1.1 1999/05/02 16:53:00 tron Exp $ + +--- include/arpa/inet.h.orig Sat May 1 21:51:06 1999 ++++ include/arpa/inet.h Sat May 1 21:53:11 1999 +@@ -56,6 +56,11 @@ + char * inet_ntoa __PTL_P((struct in_addr)); + char * inet_ntoa_r __PTL_P((struct in_addr in, char *buf, + int bufsize)); ++#if defined(__NetBSD__) ++int inet_pton __PTL_P((int, const char *, void *)); ++const char *inet_ntop __PTL_P((int, const void *, ++ char *, size_t)); ++#endif + + __PTL_END_DECLS -- cgit v1.2.3