allow compilation on systems that lack POSIX shared memory. Patch from matthijs, closes #200

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2110 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2008-02-15 13:38:12 +00:00
parent 5552139402
commit 2b8bc5cbbf

View file

@ -318,6 +318,7 @@ int pa_shm_attach_ro(pa_shm *m, unsigned id) {
int pa_shm_cleanup(void) {
#ifdef HAVE_SHM_OPEN
#ifdef SHM_PATH
DIR *d;
struct dirent *de;
@ -375,7 +376,8 @@ int pa_shm_cleanup(void) {
}
closedir(d);
#endif
#endif /* SHM_PATH */
#endif /* HAVE_SHM_OPEN */
return 0;
}