projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10deb40
)
iochannel: Handle missing un.h correctly
author
Arun Raghavan
<arun.raghavan@collabora.co.uk>
Thu, 8 Dec 2011 08:59:06 +0000
(14:29 +0530)
committer
Arun Raghavan
<arun.raghavan@collabora.co.uk>
Tue, 13 Dec 2011 03:40:08 +0000
(09:10 +0530)
src/pulsecore/iochannel.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/iochannel.c
b/src/pulsecore/iochannel.c
index 4b0fb3a519e81faee612c11b8252ae928f78fe83..fa3d767708e1dbc7179b81018256fb4e391ccb14 100644
(file)
--- a/
src/pulsecore/iochannel.c
+++ b/
src/pulsecore/iochannel.c
@@
-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) {
struct {
struct sockaddr sa;
+#ifdef HAVE_SYS_UN_H
struct sockaddr_un un;
+#endif
struct sockaddr_storage storage;
} sa;