]> git.sesse.net Git - vlc/commitdiff
Export inet_pton replacement
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 12 Feb 2007 17:35:07 +0000 (17:35 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 12 Feb 2007 17:35:07 +0000 (17:35 +0000)
include/vlc_network.h

index bc35ffe9d7d7b3ff5fb098339d8c6fbe5025c853..0d018199fe15164c143ad56bed2bbcd129ad407c 100644 (file)
@@ -138,7 +138,7 @@ VLC_EXPORT( int, __net_vaPrintf, ( vlc_object_t *p_this, int fd, const v_socket_
 
 #ifndef HAVE_INET_PTON
 /* only in core, so no need for C++ extern "C" */
-int inet_pton(int af, const char *src, void *dst);
+VLC_EXPORT (int, inet_pton, (int af, const char *src, void *dst) );
 #endif
 
 #ifndef HAVE_POLL