fixed build problems caused by missing struct sockaddr_in6 and added an option second parater to dir::open()
This commit is contained in:
@ -695,6 +695,7 @@ static int read_dir_to_tbuf (qse_dir_t* dir, void** name)
|
||||
}
|
||||
#endif
|
||||
|
||||
return 1;
|
||||
/* ------------------------------------------------------------------- */
|
||||
|
||||
#endif
|
||||
|
@ -47,6 +47,10 @@
|
||||
#else
|
||||
# include <sys/socket.h>
|
||||
# include <netinet/in.h>
|
||||
|
||||
# if defined(QSE_SIZEOF_STRUCT_SOCKADDR_IN6) && (QSE_SIZEOF_STRUCT_SOCKADDR_IN6 == 0)
|
||||
# undef AF_INET6
|
||||
# endif
|
||||
#endif
|
||||
|
||||
union sockaddr_t
|
||||
|
Reference in New Issue
Block a user