diff options
author | tron <tron@pkgsrc.org> | 1999-05-02 16:53:00 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1999-05-02 16:53:00 +0000 |
commit | ee0c971f4f7ed5a3701b0db660700cf42ef808db (patch) | |
tree | 2ba8e1a43da1f8b4824986d088e7469590b7b83c /devel/ptl2 | |
parent | 05af7a4b2e0a5bc387ecd241836ae24d3164544a (diff) | |
download | pkgsrc-ee0c971f4f7ed5a3701b0db660700cf42ef808db.tar.gz |
Add missing prototypes to PTL's "include/arpa/inet.h". Patch supplied
by Michael Graff in PR pkg/7507.
Diffstat (limited to 'devel/ptl2')
-rw-r--r-- | devel/ptl2/patches/patch-ad | 15 |
1 files changed, 15 insertions, 0 deletions
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 |