... even if ./configure detects their absence they may be pulled in from
elsewhere. Such as our own compat/os/ headers (eg. on Windows).
* Paul Vixie, 1996.
*/
SQUIDCEXTERN const char * xinet_ntop(int af, const void *src, char *dst, size_t size);
+#ifndef inet_ntop
#define inet_ntop xinet_ntop
+#endif
#endif /* HAVE_DECL_INET_NTOP */
#endif /* _INC_INET_NTOP_H */
* Paul Vixie, 1996.
*/
SQUIDCEXTERN int xinet_pton(int af, const char *src, void *dst);
+#ifndef inet_pton
#define inet_pton xinet_pton
+#endif
#endif /* HAVE_DECL_INET_PTON */
#endif /* _INC_INET_NTOP_H */