mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
iochannel: Handle missing un.h correctly
This commit is contained in:
parent
10deb4093c
commit
99afd6adef
1 changed files with 2 additions and 0 deletions
|
|
@ -255,7 +255,9 @@ ssize_t pa_iochannel_read(pa_iochannel*io, void*data, size_t l) {
|
||||||
pa_bool_t pa_iochannel_creds_supported(pa_iochannel *io) {
|
pa_bool_t pa_iochannel_creds_supported(pa_iochannel *io) {
|
||||||
struct {
|
struct {
|
||||||
struct sockaddr sa;
|
struct sockaddr sa;
|
||||||
|
#ifdef HAVE_SYS_UN_H
|
||||||
struct sockaddr_un un;
|
struct sockaddr_un un;
|
||||||
|
#endif
|
||||||
struct sockaddr_storage storage;
|
struct sockaddr_storage storage;
|
||||||
} sa;
|
} sa;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue