VLC_EXPORT (int, inet_pton, (int af, const char *src, void *dst) );
#endif
+#ifndef HAVE_INET_NTOP
+#ifdef WIN32
+/* only in core, so no need for C++ extern "C" */
+VLC_EXPORT (const char *, inet_ntop, (int af, const void *src,
+ char *dst, socklen_t cnt) );
+#endif
+#endif
+
#ifndef HAVE_POLL
enum
{