1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/devel/uclmmbase/files/patch-ae
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

16 lines
319 B
Plaintext

--- src/inet_pton.h.orig Thu Jan 23 17:35:17 2003
+++ src/inet_pton.h Thu Jan 23 17:35:29 2003
@@ -1,4 +1,4 @@
-#ifndef HAVE_INET_PTON
+#ifdef NEED_INET_PTON
#if defined(__cplusplus)
extern "C" {
#endif
@@ -8,5 +8,5 @@
#if defined(__cplusplus)
}
#endif
-#endif /* HAVE_INET_PTON */
+#endif /* NEED_INET_PTON */