mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
0d0d3af025
Don't prototype inet_pton or inet_ntop if the system already has them.
16 lines
319 B
Plaintext
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 */
|
|
|