1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/devel/uclmmbase/files/patch-ad
Bill Fenner 0d0d3af025 Actually check for inet_pton and inet_ntop in the right header.
Don't prototype inet_pton or inet_ntop if the system already has them.
2003-01-24 01:44:19 +00:00

15 lines
317 B
Plaintext

--- src/inet_ntop.h.orig Thu Jan 23 17:35:36 2003
+++ src/inet_ntop.h Thu Jan 23 17:35:45 2003
@@ -1,4 +1,4 @@
-#ifndef HAVE_INET_NTOP
+#ifdef NEED_INET_NTOP
#if defined(__cplusplus)
extern "C" {
#endif
@@ -8,4 +8,4 @@
#if defined(__cplusplus)
}
#endif
-#endif /* HAVE_INET_NTOP */
+#endif /* NEED_INET_NTOP */