Commit fd8f4e26 authored by Christophe Massiot's avatar Christophe Massiot

* src/misc/getaddrinfo.c, modules/access/directory.c: Solaris fixes.

parent 3785eb21
...@@ -362,7 +362,7 @@ static int DemuxControl( demux_t *p_demux, int i_query, va_list args ) ...@@ -362,7 +362,7 @@ static int DemuxControl( demux_t *p_demux, int i_query, va_list args )
return demux2_vaControlHelper( p_demux->s, 0, 0, 0, 1, i_query, args ); return demux2_vaControlHelper( p_demux->s, 0, 0, 0, 1, i_query, args );
} }
#if defined(SYS_BEOS) || defined(WIN32) #if defined(SYS_BEOS) || defined(WIN32) || defined(SYS_SOLARIS)
/* BeOS doesn't have scandir/alphasort/versionsort */ /* BeOS doesn't have scandir/alphasort/versionsort */
static int alphasort( const struct dirent **a, const struct dirent **b ) static int alphasort( const struct dirent **a, const struct dirent **b )
{ {
......
...@@ -57,9 +57,13 @@ ...@@ -57,9 +57,13 @@
#include "network.h" #include "network.h"
#ifdef SYS_BEOS #ifndef NO_ADDRESS
# define NO_ADDRESS NO_DATA # define NO_ADDRESS NO_DATA
#endif
#ifndef INADDR_NONE
# define INADDR_NONE 0xFFFFFFFF # define INADDR_NONE 0xFFFFFFFF
#endif
#ifndef AF_UNSPEC
# define AF_UNSPEC 0 # define AF_UNSPEC 0
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment