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:
5cc0d0e
)
Fixes for the Solaris detection.
author
Pierre Ossman
<ossman@cendio.se>
Mon, 20 Feb 2006 13:59:42 +0000
(13:59 +0000)
committer
Pierre Ossman
<ossman@cendio.se>
Mon, 20 Feb 2006 13:59:42 +0000
(13:59 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@519
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/modules/module-detect.c
patch
|
blob
|
history
diff --git
a/src/modules/module-detect.c
b/src/modules/module-detect.c
index 718b2eb443ad25bbb11e69fc8973536c16c0cd2a..18e22de64fb1b7c5e79e02d66fc84d7a8567e7da 100644
(file)
--- a/
src/modules/module-detect.c
+++ b/
src/modules/module-detect.c
@@
-30,6
+30,8
@@
#include <stdlib.h>
#include <errno.h>
#include <stdlib.h>
+#include <sys/types.h>
+#include <sys/stat.h>
#include <polypcore/module.h>
#include <polypcore/modargs.h>
@@
-187,7
+189,7
@@
static int detect_solaris(pa_core *c, int just_one) {
return -1;
}
- if (!S_ISCHR(s))
+ if (!S_ISCHR(s
.st_mode
))
return 0;
snprintf(args, sizeof(args), "device=%s", dev);