|
|
|
@ -59,8 +59,8 @@ |
|
|
|
|
|
|
|
#include <vlc_charset.h> |
|
|
|
|
|
|
|
#if defined(AF_UNIX) && !defined(AF_LOCAL) |
|
|
|
# define AF_LOCAL AF_UNIX |
|
|
|
#if defined(PF_UNIX) && !defined(PF_LOCAL) |
|
|
|
# define PF_LOCAL PF_UNIX |
|
|
|
#endif |
|
|
|
|
|
|
|
#if defined(AF_LOCAL) && ! defined(WIN32) |
|
|
|
@ -246,7 +246,7 @@ static int Activate( vlc_object_t *p_this ) |
|
|
|
|
|
|
|
msg_Dbg( p_intf, "trying UNIX socket" ); |
|
|
|
|
|
|
|
if( (i_socket = socket( AF_LOCAL, SOCK_STREAM, 0 ) ) < 0 ) |
|
|
|
if( (i_socket = socket( PF_LOCAL, SOCK_STREAM, 0 ) ) < 0 ) |
|
|
|
{ |
|
|
|
msg_Warn( p_intf, "can't open socket: %m" ); |
|
|
|
free( psz_unix_path ); |
|
|
|
|