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